private static IMultiLineString FlattenMultiLineString(IMultiLineString mlString, FgfGeometryFactory factory)
        {
            LineStringCollection lineStrings = new LineStringCollection();

            for (int i = 0; i < mlString.Count; i++)
            {
                lineStrings.Add(FlattenLineString(mlString[i], factory));
            }
            return(factory.CreateMultiLineString(lineStrings));
        }
Esempio n. 2
0
 private static IMultiLineString FlattenMultiLineString(IMultiLineString mlString, FgfGeometryFactory factory)
 {
     LineStringCollection lineStrings = new LineStringCollection();
     for (int i = 0; i < mlString.Count; i++)
     {
         lineStrings.Add(FlattenLineString(mlString[i], factory));
     }
     return factory.CreateMultiLineString(lineStrings);
 }