NurbsSurfacePointList.SetControlPoint Method (Int32, Int32, Point3d)

NurbsSurfacePointListSetControlPoint Method (Int32, Int32, Point3d)

Sets the control point at the given (u, v) index.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetControlPoint(
	int u,
	int v,
	Point3d cp
)
Public Function SetControlPoint ( 
	u As Integer,
	v As Integer,
	cp As Point3d
) As Boolean

Parameters

u
Type: SystemInt32
Index of control point in the surface U direction.
v
Type: SystemInt32
Index of control point in the surface V direction.
cp
Type: Rhino.GeometryPoint3d
The control point location to set (weight is assumed to be 1.0).

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Obsolete (compiler warning) in 6.14
See Also