private static IMultiCurveString FlattenMultiCurveString(IMultiCurveString mcString, FgfGeometryFactory factory)
        {
            CurveStringCollection curveStrings = new CurveStringCollection();

            for (int i = 0; i < mcString.Count; i++)
            {
                curveStrings.Add(FlattenCurveString(mcString[i], factory));
            }
            return(factory.CreateMultiCurveString(curveStrings));
        }
 private static IMultiCurveString FlattenMultiCurveString(IMultiCurveString mcString, FgfGeometryFactory factory)
 {
     CurveStringCollection curveStrings = new CurveStringCollection();
     for (int i = 0; i < mcString.Count; i++)
     {
         curveStrings.Add(FlattenCurveString(mcString[i], factory));
     }
     return factory.CreateMultiCurveString(curveStrings);
 }