Skip to content

triangulation

geometry · scripts/geometry/triangulation.m

: TR = triangulation (T, P)
: TR = triangulation (T, x, y)
: TR = triangulation (T, x, y, z)

Create a triangulation representation from connectivity T and points.

Matches MATLAB R2026a: T is an M-by-3 (triangles) or M-by-4 (tetrahedra) connectivity list of vertex IDs; points are an N-by-2 or N-by-3 coordinate matrix, or separate coordinate vectors.