FUNCTION REFERENCE
tetramesh
Draw the triangular faces of tetrahedra as a patch.
Draw the triangular faces of tetrahedra as a patch.
Syntax
h = tetramesh(T, X)Syntax
h = tetramesh(T, X, C)T has four one-based vertex indices per tetrahedron. X has one vertex per row and three coordinate columns. The patch contains four faces per tetrahedron. C optionally supplies one colormap value per tetrahedron; shared vertices are duplicated to retain independent tetrahedron colors. Name/value pairs can follow the numeric arguments.
Example
h = tetramesh([1 2 3 4], [0 0 0; 1 0 0; 0 1 0; 0 0 1]); size(h.Faces) % [4 3]These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.