RhinoCommon API
IntersectionBrepSurface Method |
Intersects a Brep and a Surface.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll)

public static bool BrepSurface( Brep brep, Surface surface, double tolerance, out Curve[] intersectionCurves, out Point3d[] intersectionPoints )
Public Shared Function BrepSurface ( brep As Brep, surface As Surface, tolerance As Double, <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. - 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.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8