IntersectionBrepBrep Method (Brep, Brep, Double, Boolean, Curve, Point3d) |
Intersects two Breps.
Namespace:
Rhino.Geometry.Intersect
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.12
Syntax public static bool BrepBrep(
Brep brepA,
Brep brepB,
double tolerance,
bool joinCurves,
out Curve[] intersectionCurves,
out Point3d[] intersectionPoints
)
Public Shared Function BrepBrep (
brepA As Brep,
brepB As Brep,
tolerance As Double,
joinCurves As Boolean,
<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. - joinCurves
- Type: SystemBoolean
If true, join the resulting curves where possible. - 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:
Booleantrue on success; false on failure.
See Also