NurbsSurfacePointList Class

NurbsSurfacePointList Class

Provides access to the control points of a nurbs surface.
Inheritance Hierarchy
SystemObject
  Rhino.Geometry.CollectionsNurbsSurfacePointList

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class NurbsSurfacePointList : IEnumerable<ControlPoint>, 
	IEpsilonComparable<NurbsSurfacePointList>, IEnumerable
Public NotInheritable Class NurbsSurfacePointList
	Implements IEnumerable(Of ControlPoint), IEpsilonComparable(Of NurbsSurfacePointList), 
	IEnumerable

The NurbsSurfacePointList type exposes the following members.

Properties
  NameDescription
Public propertyCountU
Gets the number of control points in the U direction of this surface.
Public propertyCountV
Gets the number of control points in the V direction of this surface.
Top
Methods
  NameDescription
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 (Inherited from Object.)
Public methodGetControlPoint
Gets the control point at the given (u, v) index.
Public methodGetGrevillePoint
Gets the 2-D Greville point associated with the control point at the given (u, v) index.
Public methodGetHashCode (Inherited from Object.)
Public methodGetPoint(Int32, Int32, Point3d)
Gets a world 3-D, or Euclidean, control point at the given (u, v) index. The 4-D representation is (x, y, z, 1.0).
Public methodGetPoint(Int32, Int32, Point4d)
Gets a homogeneous control point at the given (u, v) index, where the 4-D representation is (x, y, z, w). The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Public methodGetType (Inherited from Object.)
Public methodGetWeight
Gets the weight of a control point at the given (u, v) index. Note, if the surface is non-rational, the weight will be 1.0.
Public methodSetControlPoint(Int32, Int32, ControlPoint)
Sets the control point at the given (u, v) index.
Public methodSetControlPoint(Int32, Int32, Point3d)
Sets the control point at the given (u, v) index.
Public methodSetPoint(Int32, Int32, Point3d)
Sets a world 3-D, or Euclidean, control point at the given (u, v) index. The 4-D representation is (x, y, z, 1.0).
Public methodSetPoint(Int32, Int32, Point4d)
Sets a homogeneous control point at the given (u, v) index, where the 4-D representation is (x, y, z, w). The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Public methodSetPoint(Int32, Int32, Point3d, Double)
Sets a world 3-D, or Euclidean, control point and weight at a given index. The 4-D representation is (x*w, y*w, z*w, w).
Public methodSetPoint(Int32, Int32, Double, Double, Double)
Sets a world 3-D, or Euclidean, control point at the given (u, v) index. The 4-D representation is (x, y, z, 1.0).
Public methodSetPoint(Int32, Int32, Double, Double, Double, Double)
Sets a homogeneous control point at the given (u, v) index, where the 4-D representation is (x, y, z, w). The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Public methodSetWeight
Sets the weight of a control point at the given (u, v) index. Note, if the surface is non-rational, it will be converted to rational.
Public methodToString (Inherited from Object.)
Public methodValidateSpacing
Simple check of distance between adjacent control points
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also