M_Rhino_Geometry_Collections_MeshFaceList_AddFace_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Appends a new triangular face to the end of the mesh face list.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int AddFace(
int vertex1,
int vertex2,
int vertex3
)
VB
Public Function AddFace (
vertex1 As Integer,
vertex2 As Integer,
vertex3 As Integer
) As Integer
- vertex1
- Type: System.Int32
Index of first face corner. - vertex2
- Type: System.Int32
Index of second face corner. - vertex3
- Type: System.Int32
Index of third face corner.
Type: Int32
The index of the newly added triangle.
Supported in: 6.0.16224.21491, 5D58w
MeshFaceList Class
AddFace Overload
Rhino.Geometry.Collections Namespace