Gets a value that indicates whether this polyline is closed. The polyline is considered to be closed if its start is identical to its endpoint.
Gets a value that indicates whether this polyline is valid. Valid polylines have at least one segment, no Invalid points and no zero length segments.Closed polylines with only two segments are also not considered valid.
Gets the total length of the polyline.
Gets the number of segments for this polyline.
The tolerance.
Returns true if polyline has 4 or more points, the distance between the start and end points is <= tolerance, and there is a point in the polyline whose distance from the start and end points is > tolerance.
Test a polyline to see if it is closed.
A Nurbs curve shaped like this polyline or null on failure.
Constructs a nurbs curve representation of this polyline.
A curve shaped like this polyline or null on failure.
Constructs a polyline curve representation of this polyline.
Transform to apply.
Applies a transform to all the points in the list.
Static
createThe circle.
The number of sides
A closed polyline if successful, null otherwise.
Create a regular polygon circumscribe about a circle. The midpoints of the polygon's edges will be tangent to the circle.
Static
createPoints to use for polyline creation as an array of points [x, y, z] or Point3dList.
Creates a polyline of points to this point cloud.
Static
createStatic
createThe circle.
The radius of other circle.
The number of corners on the circle. There will be 2cornerCount sides and 2cornerCount vertices.
A closed polyline if successful, null otherwise.
Create a regular star polygon. The star begins at circle.PointAt(0) and the vertices alternate between being on circle and begin on a concentric circle of other_radius.
Generated using TypeDoc
Even though this is a property, it is not a "fast" calculation. Every point is evaluated in order to get the bounding box of the list.