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)
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.
Version Information

Rhino for Windows

Supported in: 6.8
See Also