RebarUpdateCurvesData.GetTerminationPlaneNormalForBarIdx
Description:
Gets the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex that is currently in Rebar.
Gets the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex that is currently in Rebar.
Remarks:
This method does not take into account the rotation of the bar relative to its default position along the distribution path.
public XYZ GetTerminationPlaneNormalForBarIdx(
int end,
int barPositionIndex
)
-
Int32endThe end of bar. Should be 0 for start or 1 for end.
-
Int32barPositionIndexAn index between 0 and (GetNumberOfBars()-1).
Return Value
XYZ
Returns the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex that is currently in Rebar.
-
barPositionIndex is not in the range [ 0, GetNumberOfBars()-1 ]. -or- Invalid end.