NurbsSurfacePointList.GetWeight Method

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)
Syntax
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: Double
The control point weight if successful, Rhino.Math.UnsetValue otherwise.
Version Information

Rhino for Windows

Supported in: 6.14
See Also