RhinoCommon API
IntersectionCurveCurveValidate Method |
Finds the intersections between two curves.
Namespace: Rhino.Geometry.Intersect
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0
public static CurveIntersections CurveCurveValidate( Curve curveA, Curve curveB, double tolerance, double overlapTolerance, out int[] invalidIndices, out TextLog textLog )
Public Shared Function CurveCurveValidate ( curveA As Curve, curveB As Curve, tolerance As Double, overlapTolerance As Double, <OutAttribute> ByRef invalidIndices As Integer(), <OutAttribute> ByRef textLog As TextLog ) As CurveIntersections
Parameters
- curveA
- Type: Rhino.GeometryCurve
First curve for intersection. - curveB
- Type: Rhino.GeometryCurve
Second curve for intersection. - tolerance
- Type: SystemDouble
Intersection tolerance. If the curves approach each other 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.