Curve.PlanarClosedCurveRelationship Method

CurvePlanarClosedCurveRelationship Method

Determines whether two coplanar simple closed curves are disjoint or intersect; otherwise, if the regions have a containment relationship, discovers which curve encloses the other.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static RegionContainment PlanarClosedCurveRelationship(
	Curve curveA,
	Curve curveB,
	Plane testPlane,
	double tolerance
)
Public Shared Function PlanarClosedCurveRelationship ( 
	curveA As Curve,
	curveB As Curve,
	testPlane As Plane,
	tolerance As Double
) As RegionContainment

Parameters

curveA
Type: Rhino.GeometryCurve
A first curve.
curveB
Type: Rhino.GeometryCurve
A second curve.
testPlane
Type: Rhino.GeometryPlane
A plane.
tolerance
Type: SystemDouble
A tolerance value.

Return Value

Type: RegionContainment
A value indicating the relationship between the first and the second curve.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also