Click or drag to resize

NurbsSurfaceKnotListRemoveMultipleKnots Method

Remove multiple knots from this surface

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int RemoveMultipleKnots(
	int minimumMultiplicity,
	int maximumMultiplicity,
	double tolerance


Type: SystemInt32
Remove knots with multiplicity > minimumKnotMultiplicity
Type: SystemInt32
Remove knots with multiplicity < maximumKnotMultiplicity
Type: SystemDouble
When you remove knots, the shape of the surface 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 surface is restricted to be <= tolerance.

Return Value

Type: Int32
number of knots removed on success. 0 if no knots were removed
Version Information

Rhino for Windows

Supported in: 6.2
See Also