RebarInSystem.GetBarPositionTransform
Method
Description:
Return a transform representing the relative position of any individual bar in the set.
Return a transform representing the relative position of any individual bar in the set.
Remarks:
The transform is a translation along the distribution path. It can be applied to the results of GetCenterlineCurves() to produce any bar in the rebar set. For barPositionIndex=0, the identity transform is always returned.
The transform is a translation along the distribution path. It can be applied to the results of GetCenterlineCurves() to produce any bar in the rebar set. For barPositionIndex=0, the identity transform is always returned.
Parameters
Parameter | Type | Description |
---|---|---|
barPositionIndex | Int32 | An index between 0 and (NumberOfBarPositions-1). |
Return Value
Type | Description |
---|---|
Transform | The position of a bar in the set relative to the first position. |
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. |