Brep.CreateBooleanIntersection Method (IEnumerable(Brep), IEnumerable(Brep), Double, Boolean)

BrepCreateBooleanIntersection Method (IEnumerableBrep, IEnumerableBrep, Double, Boolean)

Compute the Solid Intersection of two sets of Breps.

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

Parameters

firstSet
Type: System.Collections.GenericIEnumerableBrep
First set of Breps.
secondSet
Type: System.Collections.GenericIEnumerableBrep
Second set of Breps.
tolerance
Type: SystemDouble
Tolerance to use for intersection operation.
manifoldOnly
Type: SystemBoolean
If true, non-manifold input breps are ignored.

Return Value

Type: Brep
An array of Brep results or null on failure.
Remarks
The solid orientation of the breps make a difference when calling this function
Version Information

Rhino for Windows

Supported in: 6.14
See Also