Intersection.CurveSurface Method (Curve, Interval, Surface, Double, Double)

IntersectionCurveSurface Method (Curve, Interval, Surface, Double, Double)

Intersects a sub-curve and a surface.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static CurveIntersections CurveSurface(
	Curve curve,
	Interval curveDomain,
	Surface surface,
	double tolerance,
	double overlapTolerance
)
Public Shared Function CurveSurface ( 
	curve As Curve,
	curveDomain As Interval,
	surface As Surface,
	tolerance As Double,
	overlapTolerance As Double
) As CurveIntersections

Parameters

curve
Type: Rhino.GeometryCurve
Curve for intersection.
curveDomain
Type: Rhino.GeometryInterval
Domain of sub-curve to take into consideration for Intersections.
surface
Type: Rhino.GeometrySurface
Surface for intersection.
tolerance
Type: SystemDouble
Intersection tolerance. If the curve approaches the surface to within tolerance, an intersection is assumed.
overlapTolerance
Type: SystemDouble
The tolerance with which the curves are tested.

Return Value

Type: CurveIntersections
A collection of intersection events.
See Also