Click or drag to resize

NurbsSurfacePointListSetWeight Method

Sets the weight of a control point at the given (u, v) index. Note, if the surface is non-rational, it will be converted to rational.

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

Parameters

u
Type: SystemInt32
Index of control-point along surface U direction.
v
Type: SystemInt32
Index of control-point along surface V direction.
weight
Type: SystemDouble
The control point weight.

Return Value

Type: Boolean
true if successful, false otherwise.
Version Information

Rhino for Windows

Supported in: 6.2
See Also