RhinoCommon API
NurbsSurfacePointListGetWeight Method |
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.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public double GetWeight( int u, int v )
Public Function GetWeight ( u As Integer, v As Integer ) As Double
Parameters
- u
- Type: SystemInt32
Index of control-point along surface U direction. - v
- Type: SystemInt32
Index of control-point along surface V direction.
Return Value
Type: DoubleThe control point weight if successful, Rhino.Math.UnsetValue otherwise.

Rhino for Windows
Supported in: 6.14