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
)
Public Function GetWeight (
index As Integer
) As Double
Parameters
- index
- Type: SystemInt32
Index of control point to get.
Return Value
Type:
DoubleThe control point weight if successful, Rhino.Math.UnsetValue otherwise.
See Also