RhinoCommon API
NurbsSurfaceKnotListRemoveKnots Method |
Remove knots from the knot vector and adjusts the remaining control points to maintain surface position as closely as possible.
The knots from Knots[index0] through Knots[index1 - 1] will be removed.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool RemoveKnots( int index0, int index1 )
Public Function RemoveKnots ( index0 As Integer, index1 As Integer ) As Boolean
Parameters
- index0
- Type: SystemInt32
The starting knot index, where Degree-1 < index0 < index1 <= Points.Count-1. - index1
- Type: SystemInt32
The ending knot index, where Degree-1 < index0 < index1 <= Points.Count-1.
Return Value
Type: Booleantrue if successful, false on failure.

Rhino for Windows
Supported in: 6.8