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)
Since: 5.0
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.
See Also