T_Rhino_Geometry_Collections_NurbsCurveKnotList - mcneel/rhinocommon-api-docs GitHub Wiki
Provides access to the knot vector of a nurbs curve.
System.Object
Rhino.Geometry.Collections.NurbsCurveKnotList
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public sealed class NurbsCurveKnotList : IEnumerable<double>,
IEnumerable
VB
Public NotInheritable Class NurbsCurveKnotList
Implements IEnumerable(Of Double), IEnumerable
The NurbsCurveKnotList type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Count | Total number of knots in this curve. |
![]() |
IsClampedEnd | Gets a value indicating whether or not the knot vector is clamped at the end of the curve. Clamped curves are coincident with the first and last control-point. This requires fully multiple knots. |
![]() |
IsClampedStart | Gets a value indicating whether or not the knot vector is clamped at the start of the curve. Clamped curves start at the first control-point. This requires fully multiple knots. |
![]() |
Item | Gets or sets the knot vector value at the given index. |
Name | Description | |
---|---|---|
![]() |
ClampEnd | Clamp end knots. Does not modify control point locations. |
![]() |
CreatePeriodicKnots | Compute a clamped, uniform, periodic knot vector based on the current degree and control point count. Does not change values of control vertices. |
![]() |
CreateUniformKnots | Compute a clamped, uniform knot vector based on the current degree and control point count. Does not change values of control vertices. |
![]() |
EnsurePrivateCopy | If you want to keep a copy of this class around by holding onto it in a variable after a command completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can call this function as many times as you want. |
![]() |
EpsilonEquals | Check that all values in other are within epsilon of the values in this |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
InsertKnot(Double) | Inserts a knot and update control point locations. Does not change parameterization or locus of curve. |
![]() |
InsertKnot(Double, Int32) | Inserts a knot and update control point locations. Does not change parameterization or locus of curve. |
![]() |
KnotMultiplicity | Get knot multiplicity. |
![]() |
RemoveMultipleKnots | Remove multiple knots from this curve. |
![]() |
SuperfluousKnot | Computes the knots that are superfluous because they are not used in NURBs evaluation. These make it appear so that the first and last curve spans are different from interior spans. http://wiki.mcneel.com/developer/onsuperfluousknot |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Supported in: 6.0.16224.21491, 5D58w