T_Rhino_Geometry_Collections_NurbsSurfaceKnotList - mcneel/rhinocommon-api-docs GitHub Wiki

NurbsSurfaceKnotList Class

Provides access to the knot vector of a nurbs surface.

Inheritance Hierarchy

System.Object
  Rhino.Geometry.Collections.NurbsSurfaceKnotList
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public sealed class NurbsSurfaceKnotList : IEnumerable<double>, 
	IEnumerable

VB

Public NotInheritable Class NurbsSurfaceKnotList
	Implements IEnumerable(Of Double), IEnumerable

The NurbsSurfaceKnotList type exposes the following members.

Properties

 

Name Description
Public property ClampedAtEnd Determines if a knot vector is clamped.
Public property ClampedAtStart Determines if a knot vector is clamped.
Public property Count Gets the total number of knots in this curve.
Public property Item Gets or sets the knot vector value at the given index.
  Back to Top

Methods

 

Name Description
Public method CreatePeriodicKnots Compute a clamped, uniform, periodic knot vector based on the current degree and control point count. Does not change values of control vertices.
Public method CreateUniformKnots Compute a clamped, uniform knot vector based on the current degree and control point count. Does not change values of control vertices.
Public method 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.
Public method EpsilonEquals Check that all values in other are within epsilon of the values in this
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InsertKnot(Double) Inserts a knot and update control point locations. Does not change parameterization or locus of curve.
Public method InsertKnot(Double, Int32) Inserts a knot and update control point locations. Does not change parameterization or locus of curve.
Public method KnotMultiplicity Get knot multiplicity.
Public method RemoveMultipleKnots Remove multiple knots from this surface
Public method 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 surface spans are different from interior spans. http://wiki.mcneel.com/developer/onsuperfluousknot
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️