private static ICurveString FlattenCurveString(ICurveString curveStr, FgfGeometryFactory factory) { CurveSegmentCollection curveSegs = new CurveSegmentCollection(); for (int i = 0; i < curveStr.Count; i++) { curveSegs.Add(FlattenCurveSegment(curveStr[i], factory)); } return(factory.CreateCurveString(curveSegs)); }
private static ICurveString FlattenCurveString(ICurveString curveStr, FgfGeometryFactory factory) { CurveSegmentCollection curveSegs = new CurveSegmentCollection(); for (int i = 0; i < curveStr.Count; i++) { curveSegs.Add(FlattenCurveSegment(curveStr[i], factory)); } return factory.CreateCurveString(curveSegs); }