M_Rhino_Geometry_Collections_MeshVertexList_SetVertex_1 - mcneel/rhinocommon-api-docs GitHub Wiki

MeshVertexList.SetVertex 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) Version: Rhino 6.0

Syntax

C#

public bool SetVertex(
	int index,
	Point3f vertex
)

VB

Public Function SetVertex ( 
	index As Integer,
	vertex As Point3f
) As Boolean

Parameters

 

index
Type: System.Int32
Index of vertex to set.
vertex
Type: Rhino.Geometry.Point3f
Vertex location.

Return Value

Type: Boolean
true on success, false on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshVertexList Class
SetVertex Overload
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️