M_Rhino_Geometry_Collections_NurbsCurveKnotList_RemoveMultipleKnots - mcneel/rhinocommon-api-docs GitHub Wiki
Remove multiple knots from this curve.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int RemoveMultipleKnots(
int minimumMultiplicity,
int maximumMultiplicity,
double tolerance
)
VB
Public Function RemoveMultipleKnots (
minimumMultiplicity As Integer,
maximumMultiplicity As Integer,
tolerance As Double
) As Integer
- minimumMultiplicity
- Type: System.Int32
Remove knots with multiplicity >= minimumKnotMultiplicity. - maximumMultiplicity
- Type: System.Int32
Remove knots with multiplicity <= maximumKnotMultiplicity. - tolerance
- Type: System.Double
When you remove knots, the shape of the curve is changed. If tolerance is RhinoMath.UnsetValue, any amount of change is permitted. If tolerance is >=0, the maximum distance between the input and output curve is restricted to be <= tolerance.
Type: Int32
number of knots removed on success. 0 if no knots were removed
Supported in: 6.0.16224.21491
NurbsCurveKnotList Class
Rhino.Geometry.Collections Namespace