Reference/API

MeshProcessing.trimeshFunction
mesh = trimesh(x, t)
mesh = trimesh(x, t, NoTest)

Construct TriMesh from vertex positions in columns of x and triangle indices in columns of t.

The NoTest variant does not test dimensions and range of indices.

Note

trimesh expects Matrix types, which are referenced in TriMesh: the data is not copied! – Use trimesh(Matrix(x'), Matrix(t')) when providingAdjoint{}` types.

See also TriMesh

source