Click or drag to resize

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)
Syntax
public static Brep[] CreateBooleanSplit(
	IEnumerable<Brep> firstSet,
	IEnumerable<Brep> secondSet,
	double tolerance
)

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