Matlab geometry toolbox for 2D/3D geometric computing
Switch branches/tags
Nothing to show
Clone or download


Matlab geometry toolbox for 2D/3D geometric computing

MatGeom is a library for geometric computing with Matlab in 2D and 3D. It contains several hundreds of functions for the creation and manipulation of 2D and 3D shapes such as point sets, lines, polygons, 3D meshes, ellipses...

The official homepage for the project is A starting help is provided in the MatGeom wiki

Package organization

The library is organized into several modules:

  • geom2d - General functions in euclidean plane
  • polygons2d - Functions operating on polygons and polylines represented as list of vertices
  • graphs - Manipulation of geometric graphs
  • polynomialCurves2d - Representation of smooth polynomial (Bezier) curves
  • geom3d - General functions in 3D euclidean space
  • meshes3d - Manipulation of 3D polygonal meshes (trimesh, quadmesh, or more generic meshes)