Main Content

Triangulation Representation

Represent and interact with triangulations

Represent 2-D or 3-D triangulation data as a triangulation object, and use object functions to compute geometric quantities. You can visualize the triangulation and work with STL files to read and write triangulation data.


expand all

triangulationTriangulation in 2-D or 3-D
barycentricToCartesianConvert coordinates from barycentric to Cartesian
cartesianToBarycentricConvert coordinates from Cartesian to barycentric
circumcenterCircumcenter of triangle or tetrahedron
edgeAttachmentsTriangles or tetrahedra attached to specified edge
edgesTriangulation edges
faceNormalTriangulation unit normal vectors
featureEdgesSharp edges of surface triangulation
freeBoundaryFree boundary facets
incenterIncenter of triangulation elements
isConnectedTest if two vertices are connected by an edge
nearestNeighborVertex closest to specified point
neighborsTriangle or tetrahedron neighbors
pointLocationTriangle or tetrahedron enclosing point
sizeSize of triangulation connectivity list
vertexAttachmentsTriangles or tetrahedra attached to vertex
vertexNormalTriangulation vertex normal
boundaryshapeCreate polyshape from 2-D triangulation
stlreadCreate triangulation from STL file
stlwriteCreate STL file from triangulation
tetrameshTetrahedron mesh plot
trimeshTriangular mesh plot
triplot2-D triangular plot
trisurfTriangular surface plot


Triangulation Representations

This topic contains background information on triangulation and introduces the triangulation class.