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

Intersects a (sub)curve and a surface.

**Namespace:** Rhino.Geometry.Intersect**Assembly:** RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.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 surbcurve 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:

CurveIntersectionsA collection of intersection events.

See Also