-
-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Here: bealni.com/dxf is an example of a strange behaviour of Spline.PolygonalVertexes().
You can download the dxf file sample.dxf.
This file contains only SPLINE entities.
The code is:
private List<CSMath.XYZ> CreateEntityVertices_SPLINE(Entity entity)
{
ACadSharp.Entities.Spline spline;
List<CSMath.XYZ> vertices;
spline = entity as ACadSharp.Entities.Spline;
vertices = spline.PolygonalVertexes(SPLINE_PRECISION *
(spline.ControlPoints.Count - 1));
return vertices;
}
The figure 1 was generated using SPLINE_PRECISION = 2, while
the figure 2 was generated using SPLINE_PRECISION = 4.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working