NurbsCurvePointList.ValidateSpacing Method

NurbsCurvePointListValidateSpacing Method

Simple check of distance between adjacent control points

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Boolean
true if close or stacked indices are found
Version Information

Rhino for Windows

Supported in: 6.8
See Also