Click or drag to resize
NurbsCurvePointList Class
Provides access to the control points of a nurbs curve.
Inheritance Hierarchy
SystemObject
  Rhino.Geometry.CollectionsNurbsCurvePointList

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public class NurbsCurvePointList : IEnumerable<ControlPoint>, 
	IEpsilonComparable<NurbsCurvePointList>, IEnumerable

The NurbsCurvePointList type exposes the following members.

Properties
  NameDescription
Public propertyControlPolygonLength
Gets the length of the polyline connecting all control points.
Public propertyCount
Gets the number of control points in this curve.
Public propertyItem
Gets or sets the control point location at the given index.
Top
Methods
  NameDescription
Public methodChangeEndWeights
Use a combination of scaling and reparameterization to change the end weights to the specified values.
Public methodControlPolygon
Constructs a polyline through all the control points. Note that periodic curves generate a closed polyline with fewer points than control-points.
Public methodEnsurePrivateCopy
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 methodEpsilonEquals
Check that all values in other are within epsilon of the values in this
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMakeNonRational
Sets all the control points to 1.0.
Public methodMakeRational
Turns the curve into a Rational nurbs curve.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPoint(Int32, Point3d)
Sets a specific control-point.
Public methodSetPoint(Int32, Point4d)
Sets a specific weighted control-point.
Public methodCode exampleSetPoint(Int32, Double, Double, Double, Double)
Sets a specific control-point.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also