Determines if this CurveLoop is oriented counter-clockwise (CCW) or clockwise (CW) with
respect to the specified 3D direction.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool IsCounterclockwise( XYZ normal )
Parameters
- normal XYZ
- The normal vector to the plane used for this determination.
Return Value
BooleanTrue if the curve loop is oriented counter-clockwise with respect to the specified 3D direction, false if the loop is oriented clockwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The curve loop is open or consists of a single unbound curve; counterclockwise determination has no meaning. |