M_Rhino_Geometry_Curve_ClosedCurveOrientation_3 - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.ClosedCurveOrientation 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) Version: Rhino 6.0

Syntax

C#

public CurveOrientation ClosedCurveOrientation(
	Vector3d upDirection
)

VB

Public Function ClosedCurveOrientation ( 
	upDirection As Vector3d
) As CurveOrientation

Parameters

 

upDirection
Type: Rhino.Geometry.Vector3d
A vector that is considered "up".

Return Value

Type: CurveOrientation
The orientation of this curve with respect to a defined up direction.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
ClosedCurveOrientation Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️