Protected
itemsThe internal array of items.
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.
Gets the number of elements actually contained in the List.
Gets or sets the first item in the list. This is synonymous to calling List[0].
Gets or sets the first item in the list. This is synonymous to calling List[0].
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. Polylines less than 3 points long are not considered closed.
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 or sets the last item in the list. This is synonymous to calling List[Count-1].
Gets or sets the last item in the list. This is synonymous to calling List[Count-1].
Gets the total length of the polyline.
Gets the number of null or undefined in this list.
Gets the number of segments for this polyline.
Retuens a new polyline which removed all points that are closer than tolerance to the previous point.
Start and end points are left intact.
The new polyline
Vertices closer together than tolerance will be removed.
Determines whether the polyline is closed, provided a tolerance value.
true if the polyline is closed to within tolerance, false otherwise.
If the distance between the start and end point of the polyline is less than tolerance, the polyline is considered to be closed.
It checks if a point is inside a Closed Planar polyline.
The polyline must be closed and planar. If not, it throws an exception. if the point is on the polyline, it returns false. If the point is not on the polyline plane, it returns false. It performs the even-odd-rule Algorithm (a raycasting algorithm) see https://en.wikipedia.org/wiki/Point_in_polygon
true if the point is inside the polyline.
the point to check.
Private
IsConstructs a polyline out of a parameter subdomain in this curve.
The integer part of the domain parameters indicate the index of the segment.
The polyline as defined by the subdomain.
The subdomain start of the polyline.
The subdomain end of the polyline.
Static
CreateStatic
Private
SignedStatic
Private
SmoothGenerated using TypeDoc
Represents an ordered set of points connected by linear segments.
Remarks
The polyline is using the Array class as its base class. So you can use all Array methods on a polyline. Polylines are closed if start and end points coincide.