Click or drag to resize

NurbsCurvePointListSetWeight Method

Sets the weight of a control point at the given index Note, if the curve is non-rational, it will be converted to rational.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public bool SetWeight(
	int index,
	double weight
)

Parameters

index
Type: SystemInt32
Index of control point to set.
weight
Type: SystemDouble
The control point weight.

Return Value

Type: Boolean
true if successful, false otherwise.
See Also