M_Rhino_Geometry_Collections_MeshVertexList_SetVertex_3 - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public bool SetVertex(
int index,
float x,
float y,
float z
)
VB
Public Function SetVertex (
index As Integer,
x As Single,
y As Single,
z As Single
) As Boolean
- index
- Type: System.Int32
Index of vertex to set. - x
- Type: System.Single
X component of vertex location. - y
- Type: System.Single
Y component of vertex location. - z
- Type: System.Single
Z component of vertex location.
Type: Boolean
true on success, false on failure.
Supported in: 6.0.16224.21491, 5D58w
MeshVertexList Class
SetVertex Overload
Rhino.Geometry.Collections Namespace