RhinoCommon API
CurveCreateBooleanDifference Method (Curve, Curve) |
Calculates the boolean difference between two closed, planar curves.
Note, curves must be co-planar.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Curve[] CreateBooleanDifference( Curve curveA, Curve curveB )
Public Shared Function CreateBooleanDifference ( curveA As Curve, curveB As Curve ) As Curve()
Parameters
- curveA
- Type: Rhino.GeometryCurve
The first closed, planar curve. - curveB
- Type: Rhino.GeometryCurve
The second closed, planar curve.
Return Value
Type: CurveResult curves on success, empty array if no difference could be calculated.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Obsolete (compiler warning) in 6.8