Click or drag to resize

NurbsCurvePointListGetWeight Method

Gets the weight of a control point at the given index. Note, if the curve is non-rational, the weight will be 1.0.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public double GetWeight(
	int index
)

Parameters

index
Type: SystemInt32
Index of control point to get.

Return Value

Type: Double
The control point weight if successful, Rhino.Math.UnsetValue otherwise.
Version Information

Rhino for Windows

Supported in: 6.2
See Also