Click or drag to resize

BrepCreateBooleanDifferenceWithIndexMap Method

Compute the solid difference between two sets of Breps.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.13
Syntax
public static Brep[] CreateBooleanDifferenceWithIndexMap(
	IEnumerable<Brep> firstSet,
	IEnumerable<Brep> secondSet,
	double tolerance,
	bool manifoldOnly,
	out int[] indexMap
)

Parameters

firstSet
Type: System.Collections.GenericIEnumerableBrep
The set to be differenced from.
secondSet
Type: System.Collections.GenericIEnumerableBrep
The set to difference with.
tolerance
Type: SystemDouble
Tolerance to use for the boolean operation.
manifoldOnly
Type: SystemBoolean
If true, non-manifold input breps are ignored.
indexMap
Type: SystemInt32
results[i] is the result if subtracting something from firstSet[indexMap[i]].

Return Value

Type: Brep
An array of Brep results or null on failure. May be empty if all of the firstSet is differenced away.
See Also