Click or drag to resize

Polyline Properties

The Polyline type exposes the following members.

Properties
  NameDescription
Public propertyBoundingBox
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.
(Inherited from Point3dList.)
Public propertyCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from RhinoListT.)
Public propertyCount
Gets the number of elements actually contained in the List.
(Inherited from RhinoListT.)
Public propertyFirst
Gets or sets the first item in the list. This is synonymous to calling List[0].
(Inherited from RhinoListT.)
Public propertyIsClosed
Test a polyline to see if it is closed.
Public propertyIsValid
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.

Public propertyItem
Gets or sets the element at the specified index.
(Inherited from RhinoListT.)
Public propertyLast
Gets or sets the last item in the list. This is synonymous to calling List[Count-1].
(Inherited from RhinoListT.)
Public propertyLength
Gets the total length of the polyline.
Public propertyNullCount
Gets the number of null references (Nothing in Visual Basic) in this list. If T is a ValueType, this property always return zero.
(Inherited from RhinoListT.)
Public propertySegmentCount
Gets the number of segments for this polyline.
Public propertyX
Returns an indexer with all X coordinates in this list.
(Inherited from Point3dList.)
Public propertyY
Returns an indexer with all Y coordinates in this list.
(Inherited from Point3dList.)
Public propertyZ
Returns an indexer with all Z coordinates in this list.
(Inherited from Point3dList.)
Top
See Also