RhinoCommon API
CurveCreateBooleanDifference Method (Curve, IEnumerableCurve, Double) |
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)
Since: 6.0

public static Curve[] CreateBooleanDifference( Curve curveA, IEnumerable<Curve> subtractors, double tolerance )
Public Shared Function CreateBooleanDifference ( curveA As Curve, subtractors As IEnumerable(Of Curve), tolerance As Double ) 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. - tolerance
- Type: SystemDouble
[Missing <param name="tolerance"/> documentation for "M:Rhino.Geometry.Curve.CreateBooleanDifference(Rhino.Geometry.Curve,System.Collections.Generic.IEnumerable{Rhino.Geometry.Curve},System.Double)"]
Return Value
Type: CurveResult curves on success, empty array if no difference could be calculated.
