RebarShapeDefinitionBySegments.GetSegment
Method
Description:
Return a reference to one of the segments in the definition.
Return a reference to one of the segments in the definition.
Parameters
Parameter | Type | Description |
---|---|---|
segmentIndex | Int32 | Index of the segment (0 to NumberOfSegments - 1). |
Return Value
Type | Description |
---|---|
RebarShapeSegment | The requested segment. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | segmentIndex is not between 0 and NumberOfSegments. |