NurbsCurvePointList.SetPoint Method (Int32, Double, Double, Double)

NurbsCurvePointListSetPoint Method (Int32, Double, Double, Double)

Sets a world 3-D, or Euclidean, control point at the given index. The 4-D representation is (x, y, z, 1.0).

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetPoint(
	int index,
	double x,
	double y,
	double z
)
Public Function SetPoint ( 
	index As Integer,
	x As Double,
	y As Double,
	z As Double
) As Boolean

Parameters

index
Type: SystemInt32
Index of control point to set.
x
Type: SystemDouble
X coordinate of control point.
y
Type: SystemDouble
Y coordinate of control point.
z
Type: SystemDouble
Z coordinate of control point.

Return Value

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

Rhino for Windows

Supported in: 6.14
See Also