Click or drag to resize

IntersectionCurveBrep Method (Curve, Brep, Double, Curve, Point3d, Double)

Intersects a curve with a Brep. This function returns the 3D points of intersection, curve parameters at the intersection locations, and 3D overlap curves. If an error occurs while processing overlap curves, this function will return false, but it will still provide partial results.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static bool CurveBrep(
	Curve curve,
	Brep brep,
	double tolerance,
	out Curve[] overlapCurves,
	out Point3d[] intersectionPoints,
	out double[] curveParameters
)

Parameters

curve
Type: Rhino.GeometryCurve
Curve for intersection.
brep
Type: Rhino.GeometryBrep
Brep for intersection.
tolerance
Type: SystemDouble
Fitting and near miss tolerance.
overlapCurves
Type: Rhino.GeometryCurve
The overlap curves will be returned here.
intersectionPoints
Type: Rhino.GeometryPoint3d
The intersection points will be returned here.
curveParameters
Type: SystemDouble
The intersection curve parameters will be returned here.

Return Value

Type: Boolean
true on success, false on failure.
See Also