M_Rhino_Geometry_Intersect_Intersection_BrepBrep - mcneel/rhinocommon-api-docs GitHub Wiki

Intersection.BrepBrep Method

Intersects two Breps.

Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static bool BrepBrep(
	Brep brepA,
	Brep brepB,
	double tolerance,
	out Curve[] intersectionCurves,
	out Point3d[] intersectionPoints
)

VB

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.Geometry.Brep
First Brep for intersection.
brepB
Type: Rhino.Geometry.Brep
Second Brep for intersection.
tolerance
Type: System.Double
Intersection tolerance.
intersectionCurves
Type: Rhino.Geometry.Curve[]
The intersection curves will be returned here.
intersectionPoints
Type: Rhino.Geometry.Point3d[]
The intersection points will be returned here.

Return Value

Type: Boolean
true on success; false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Intersection Class
Rhino.Geometry.Intersect Namespace

⚠️ **GitHub.com Fallback** ⚠️