Rebar.GetTransformedCenterlineCurves
Description:
A chain of curves representing the centerline of the rebar.
A chain of curves representing the centerline of the rebar.
Remarks:
This method will return the centerline curves for bar at barPositionIndex even if this bar isn't included. The curves are in the final position. The BarPositionTransform (representing the relative position of any individual bar in the set - a translation along the distribution path) and MovedBarTransform (representing the movement of the bar relative to its default position along the distribution path) will be applied to the returned curves.
This method will return the centerline curves for bar at barPositionIndex even if this bar isn't included. The curves are in the final position. The BarPositionTransform (representing the relative position of any individual bar in the set - a translation along the distribution path) and MovedBarTransform (representing the movement of the bar relative to its default position along the distribution path) will be applied to the returned curves.
public IList<Curve> GetTransformedCenterlineCurves(
bool adjustForSelfIntersection,
bool suppressHooksAndCranks,
bool suppressBendRadius,
MultiplanarOption multiplanarOption,
int barPositionIndex
)
-
BooleanadjustForSelfIntersectionIf the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
-
BooleansuppressHooksAndCranksIdentifies if the chain will include hooks and the crank curves.
-
BooleansuppressBendRadiusIdentifies if the connected chain will include unfilleted curves.
-
multiplanarOptionIf the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
-
Int32barPositionIndexThe bar index.
Return Value
IList<Curve>
The centerline curves or empty array if the curves cannot be computed because
the parameters values are inconsistent
with the constraints of the RebarShape definition.
-
barPositionIndex should be in range [ 0, NumberOfBarPositions-1 ] and the bar at barPositionIndex should be included. -or- A value passed for an enumeration argument is not a member of that enumeration