NurbsCurvePointList.SetWeight Method

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
)
Public Function SetWeight ( 
	index As Integer,
	weight As Double
) As Boolean

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.14
See Also