Click or drag to resize

MeshVertexListSetVertex Method (Int32, Point3f)

Sets or adds a vertex to the Vertex List.

If [index] is less than [Count], the existing vertex at [index] will be modified.

If [index] equals [Count], a new vertex is appended to the end of the vertex list.

If [index] is larger than [Count], the function will return false.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public bool SetVertex(
	int index,
	Point3f vertex


Type: SystemInt32
Index of vertex to set.
Type: Rhino.GeometryPoint3f
Vertex location.

Return Value

Type: Boolean
true on success, false on failure.
See Also