Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 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);
 }