コード例 #1
0
        private static IMultiCurvePolygon FlattenMultiCurvePolygon(IMultiCurvePolygon mcPolygon, FgfGeometryFactory factory)
        {
            CurvePolygonCollection curvePolygons = new CurvePolygonCollection();

            for (int i = 0; i < mcPolygon.Count; i++)
            {
                curvePolygons.Add(FlattenCurvePolygon(mcPolygon[i], factory));
            }
            return(factory.CreateMultiCurvePolygon(curvePolygons));
        }
コード例 #2
0
 private static IMultiCurvePolygon FlattenMultiCurvePolygon(IMultiCurvePolygon mcPolygon, FgfGeometryFactory factory)
 {
     CurvePolygonCollection curvePolygons = new CurvePolygonCollection();
     for (int i = 0; i < mcPolygon.Count; i++)
     {
         curvePolygons.Add(FlattenCurvePolygon(mcPolygon[i], factory));
     }
     return factory.CreateMultiCurvePolygon(curvePolygons);
 }