RhinoCommon API
NurbsCurvePointListValidateSpacing Method |
Simple check of distance between adjacent control points
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool ValidateSpacing( double closeTolerance, double stackTolerance, out int[] closeIndices, out int[] stackedIndices )
Public Function ValidateSpacing ( closeTolerance As Double, stackTolerance As Double, <OutAttribute> ByRef closeIndices As Integer(), <OutAttribute> ByRef stackedIndices As Integer() ) As Boolean
Parameters
- closeTolerance
- Type: SystemDouble
tolerance to use for determining if control points are 'close' - stackTolerance
- Type: SystemDouble
tolerance to use for determining if control points are 'stacked' - closeIndices
- Type: SystemInt32
indices of 'close' points are returned in this array - stackedIndices
- Type: SystemInt32
indices of 'stacked' points are returned in this array
Return Value
Type: Booleantrue if close or stacked indices are found

Rhino for Windows
Supported in: 6.8