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

public static Curve[] CreateBooleanDifference( Curve curveA, IEnumerable<Curve> subtractors )
Public Shared Function CreateBooleanDifference ( curveA As Curve, subtractors As IEnumerable(Of Curve) ) As Curve()
Parameters
- curveA
- Type: Rhino.GeometryCurve
The first closed, planar curve. - subtractors
- Type: System.Collections.GenericIEnumerableCurve
curves to subtract from the first closed 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