Curve.DoDirectionsMatch Method

CurveDoDirectionsMatch Method

Determines whether two curves travel more or less in the same direction.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool DoDirectionsMatch(
	Curve curveA,
	Curve curveB
)
Public Shared Function DoDirectionsMatch ( 
	curveA As Curve,
	curveB As Curve
) As Boolean

Parameters

curveA
Type: Rhino.GeometryCurve
First curve to test.
curveB
Type: Rhino.GeometryCurve
Second curve to test.

Return Value

Type: Boolean
true if both curves more or less point in the same direction, false if they point in the opposite directions.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also