Click or drag to resize

LinetypeGetSegment Method

Gets the segment information at a index.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void GetSegment(
	int index,
	out double length,
	out bool isSolid
)

Parameters

index
Type: SystemInt32
Zero based index of the segment.
length
Type: SystemDouble
The length of the segment in millimeters.
isSolid
Type: SystemBoolean
If the length is interpreted as a line, true is assigned during the call to this out parameter.

If the length is interpreted as a space, then false is assigned during the call to this out parameter.

Exceptions
ExceptionCondition
IndexOutOfRangeExceptionIf the index is unacceptable.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also