Rebar.ContainsValidArcRadiiForStyleAndBarType
Method
Description:
Checks that all arcs in the chain of curves have radii that are not less than minimum bend radius for bar type and style
Checks that all arcs in the chain of curves have radii that are not less than minimum bend radius for bar type and style
Syntax
public static bool ContainsValidArcRadiiForStyleAndBarType(
IList<Curve> curves,
RebarStyle style,
RebarBarType barType
)
Parameters
Parameter | Type | Description |
---|---|---|
curves | IList | An array of curves intended to define the shape of the rebar curves. Bends and hooks should not be included in the array of curves. |
style | RebarStyle | The usage of the bar, "standard" or "stirrup/tie". |
barType | RebarBarType | A RebarBarType element that defines bar diameter, bend radius and material of the rebar. |
Return Value
Type | Description |
---|---|
Boolean | Returns true if all arc bend radii are not less than minimum bend radius for bar type and style |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |