RhinoCommon API
IntersectionCurveSurfaceValidate Method (Curve, Interval, Surface, Double, Double, Int32, TextLog) |
Intersects a sub-curve and a surface.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public static CurveIntersections CurveSurfaceValidate( Curve curve, Interval curveDomain, Surface surface, double tolerance, double overlapTolerance, out int[] invalidIndices, out TextLog textLog )
Public Shared Function CurveSurfaceValidate ( curve As Curve, curveDomain As Interval, surface As Surface, tolerance As Double, overlapTolerance As Double, <OutAttribute> ByRef invalidIndices As Integer(), <OutAttribute> ByRef textLog As TextLog ) 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. - invalidIndices
- Type: SystemInt32
The indices in the resulting CurveIntersections collection that are invalid. - textLog
- Type: Rhino.FileIOTextLog
A text log that contains tails about the invalid intersection events.
Return Value
Type: CurveIntersectionsA collection of intersection events.
