IntersectionBrepSurface Method (Brep, Surface, Double, Boolean, Curve, Point3d) |
Intersects a Brep and a Surface.
Namespace:
Rhino.Geometry.Intersect
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.12
Syntax public static bool BrepSurface(
Brep brep,
Surface surface,
double tolerance,
bool joinCurves,
out Curve[] intersectionCurves,
out Point3d[] intersectionPoints
)
Public Shared Function BrepSurface (
brep As Brep,
surface As Surface,
tolerance As Double,
joinCurves As Boolean,
<OutAttribute> ByRef intersectionCurves As Curve(),
<OutAttribute> ByRef intersectionPoints As Point3d()
) As Boolean
Parameters
- brep
- Type: Rhino.GeometryBrep
A brep to be intersected. - surface
- Type: Rhino.GeometrySurface
A surface to be intersected. - tolerance
- Type: SystemDouble
A tolerance value. - joinCurves
- Type: SystemBoolean
If true, join the resulting curves where possible. - intersectionCurves
- Type: Rhino.GeometryCurve
The intersection curves array argument. This out reference is assigned during the call. - intersectionPoints
- Type: Rhino.GeometryPoint3d
The intersection points array argument. This out reference is assigned during the call.
Return Value
Type:
Booleantrue on success; false on failure.
See Also