For 3-D problems, the toolbox works with faceted geometry. Create a 3-D geometry using one of these approaches:
Import a stereo lithography (or STL) file into MATLAB®. The STL file format is native to 3-D CAD software and provides a standard format to import 3-D geometries for analysis with the toolbox.
Import a tetrahedral mesh by using the
Create geometry from a 3-D point cloud or a triangulated
surface mesh. Use
alphaShape to create a surface mesh of a point
geometryFromMesh to create the geometry
from a surface mesh.
For details, see Create and View 3-D Geometry.