Brep.CreateBooleanIntersection Method (Brep, Brep, Double)

BrepCreateBooleanIntersection Method (Brep, Brep, Double)

Compute the Solid Intersection of two Breps.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Brep[] CreateBooleanIntersection(
	Brep firstBrep,
	Brep secondBrep,
	double tolerance
)
Public Shared Function CreateBooleanIntersection ( 
	firstBrep As Brep,
	secondBrep As Brep,
	tolerance As Double
) As Brep()

Parameters

firstBrep
Type: Rhino.GeometryBrep
First Brep for boolean intersection.
secondBrep
Type: Rhino.GeometryBrep
Second Brep for boolean intersection.
tolerance
Type: SystemDouble
Tolerance to use for intersection operation.

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
See Also