Computational geometry functions and objects in MATLAB® provide a way to represent and compute with 2-D or 3-D geometries. You can work with triangulations, bounded regions, geometric diagrams, and polygons.