NurbsCurveKnotListRemoveKnots Method |
Remove knots from a curve and adjusts the remaining control points to maintain curve 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)
Since: 6.0
Syntax 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.
See Also