Click or drag to resize
LinetypeGetSegment Method
Gets the segment information at a index.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also