Click or drag to resize

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
)

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: Boolean
true on success; false on failure.
See Also