Brep.CreateBooleanSplit Method (IEnumerable(Brep), IEnumerable(Brep), Double)

BrepCreateBooleanSplit Method (IEnumerableBrep, IEnumerableBrep, Double)

Splits shared areas of Breps and creates separate Breps from the shared and unshared parts.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.16
Syntax
public static Brep[] CreateBooleanSplit(
	IEnumerable<Brep> firstSet,
	IEnumerable<Brep> secondSet,
	double tolerance
)
Public Shared Function CreateBooleanSplit ( 
	firstSet As IEnumerable(Of Brep),
	secondSet As IEnumerable(Of Brep),
	tolerance As Double
) As Brep()

Parameters

firstSet
Type: System.Collections.GenericIEnumerableBrep
The Breps to split.
secondSet
Type: System.Collections.GenericIEnumerableBrep
The cutting Breps.
tolerance
Type: SystemDouble
Tolerance to use for splitting operation. When in doubt, use the document's model absolute tolerance.

Return Value

Type: Brep
An array of Brep if successful, an empty array on failure.
See Also