RhinoCommon API
CurveClosedCurveOrientation Method (Vector3d) |
Determines the orientation (counterclockwise or clockwise) of a closed, planar curve in a given plane.
Only works with simple (no self intersections) closed, planar curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public CurveOrientation ClosedCurveOrientation( Vector3d upDirection )
Public Function ClosedCurveOrientation ( upDirection As Vector3d ) As CurveOrientation
Parameters
- upDirection
- Type: Rhino.GeometryVector3d
A vector that is considered "up".
Return Value
Type: CurveOrientationThe orientation of this curve with respect to a defined up direction.
