Exemplo n.º 1
0
        internal static IEnumerable <SvgPathSegment> GetSvgPathSegments(this DxfHatch.SplineBoundaryPathEdge splineBoundary)
        {
            Spline          spline          = new Spline(splineBoundary);
            PiecewiseBezier piecewiseBezier = new PiecewiseBezier(spline);
            var             paths           = piecewiseBezier.ToSvgPath().Segments;

            return(paths);
        }
Exemplo n.º 2
0
 public Spline(DxfHatch.SplineBoundaryPathEdge edge_spline)
 {
     Degree        = edge_spline.Degree;
     ControlPoints = edge_spline.ControlPoints;
     Knots         = edge_spline.Knots;
 }