The MESH_NUMTRIANGLES function computes the number of triangles in a polygonal mesh.

Syntax


Result = MESH_NUMTRIANGLES (Conn)

Return Value


Returns the number of triangles in the mesh (a quad is considered two triangles).

Arguments


Conn

Polygonal mesh connectivity array.

Keywords


None.

Version History


5.5

Introduced

See Also


MESH_CLIP, MESH_DECIMATE, MESH_ISSOLID, MESH_MERGE, MESH_OBJ, MESH_SMOOTH, MESH_SURFACEAREA, MESH_VALIDATE, MESH_VOLUME