Intersection.BrepBrep Method

IntersectionBrepBrep Method

Intersects two Breps.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static bool BrepBrep(
	Brep brepA,
	Brep brepB,
	double tolerance,
	out Curve[] intersectionCurves,
	out Point3d[] intersectionPoints
)
Public Shared Function BrepBrep ( 
	brepA As Brep,
	brepB As Brep,
	tolerance As Double,
	<OutAttribute> ByRef intersectionCurves As Curve(),
	<OutAttribute> ByRef intersectionPoints As Point3d()
) As Boolean

Parameters

brepA
Type: Rhino.GeometryBrep
First Brep for intersection.
brepB
Type: Rhino.GeometryBrep
Second Brep for intersection.
tolerance
Type: SystemDouble
Intersection tolerance.
intersectionCurves
Type: Rhino.GeometryCurve
The intersection curves will be returned here.
intersectionPoints
Type: Rhino.GeometryPoint3d
The intersection points will be returned here.

Return Value

Type: Boolean
true on success; false on failure.
See Also