Click or drag to resize

MeshFaceListAddFace Method (Int32, Int32, Int32)

Appends a new triangular face to the end of the mesh face list.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int AddFace(
	int vertex1,
	int vertex2,
	int vertex3
)

Parameters

vertex1
Type: SystemInt32
Index of first face corner.
vertex2
Type: SystemInt32
Index of second face corner.
vertex3
Type: SystemInt32
Index of third face corner.

Return Value

Type: Int32
The index of the newly added triangle.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also