T_Rhino_Geometry_Collections_NurbsCurvePointList - mcneel/rhinocommon-api-docs GitHub Wiki

NurbsCurvePointList Class

Provides access to the control points of a nurbs curve.

Inheritance Hierarchy

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

Syntax

C#

public class NurbsCurvePointList : IEnumerable<ControlPoint>, 
	IEnumerable

VB

Public Class NurbsCurvePointList
	Implements IEnumerable(Of ControlPoint), IEnumerable

The NurbsCurvePointList type exposes the following members.

Properties

 

Name Description
Public property ControlPolygonLength Gets the length of the polyline connecting all control points.
Public property Count Gets the number of control points in this curve.
Public property Item Gets or sets the control point location at the given index.
  Back to Top

Methods

 

Name Description
Public method ChangeEndWeights Use a combination of scaling and reparameterization to change the end weights to the specified values.
Public method ControlPolygon Constructs a polyline through all the control points. Note that periodic curves generate a closed polyline with fewer points than control-points.
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 MakeNonRational Sets all the control points to 1.0.
Public method MakeRational Turns the curve into a Rational nurbs curve.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetPoint(Int32, Point3d) Sets a specific control-point.
Public method SetPoint(Int32, Point4d) Sets a specific weighted control-point.
Public methodCode example SetPoint(Int32, Double, Double, Double, Double) Sets a specific control-point.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateSpacing Simple check of distance between adjacent control points
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry.Collections Namespace

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