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)
Since: 6.0
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.
See Also