geom3d

Geometric computing library for 3D shapes: meshes, points, lines, planes...

https://github.com/mattools/matGeom

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

David Legland (2026). geom3d (https://www.mathworks.com/matlabcentral/fileexchange/24484-geom3d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.25.0

add link to matGeom (GitHub + FEx contribution)

Download
1.24.0

new functions for processing 3D meshes (repairing, simplification), renaming of inertia ellipsoid into equivalent ellipsoid.

Download
1.23.1

package as mltbx file

Download
1.23.1-0

package as toolbox.

Download
1.23.0

add meshes3d/meshFaceAreas.m, add geom3d/isTransform3d.m (thanks to Oqilipo), updated return type of several drawing functions, fixed bug in orientedBox3d

Download
1.22.0

added several functions fore reading/writing 3D meshes in PLY and OFF formats, and new functions for working with 3d meshes (distancePointMesh, isPointInMesh).

Download
1.21.0

integrate several contrinutions (oqilipo, Roozbeh). add clip/split/concatenate meshes, new transforms from vectors.

Download
1.20.0

remove deprecated functions, update some display functions

Download
1.19.2

fix bug in clipConvexPolyhedronHP, fix bug in nomalizePlane.m for multiple planes (thanks to Zubiao Xiong), add orientedBox3d

Download
1.19.1

fix bug in polyhedronCentroid

Download
1.19.0

Several updates for processing of meshes (intersectPlaneMesh, intersectLineSphere), for display of meshes, for computation and display of inertia ellipsoids

Download
1.18.0

added trimMesh function (that removes non connected vertices from a mesh), update mergeCoplanarFaces, and update tolerance management in interesectLineMesh3d

Download
1.17.0

fix various small bugs

Download
1.16.0

fixed bug in surfToMesh

Download
1.15.0

minor bug fixes, new functions for manipulating polygons, speed improvements (thanks to Sven Holcombe!)

Download
1.14.0

several bug fixes, new functions (fitLine3d, parallelPlane, reversePlane, intersectPlaneMesh, meshCentroid...), and fonctions for creating meshes from patches or geometric primitives.

Download
1.13.0

fix bugs in demos

Download
1.12.0

bug fixes, new functions for spherical polygons, for reading meshes (off foramt), for point-edge distance, and for computing surface area of 3D polygons, meshes, or ellipsoids.

Download
1.10.0

various code cleanup and speed improvements, mainly contributed by Sven Holcombe (many thanks!)

Download
1.9.0

use degrees for drawing shapes, split lib into packages 'geom3d' and meshes3d

Download
1.8.0

Add new functions for meshes and polyhedra, and for 3D transforms (rotations, basis transform). See file changelog.txt

Download
1.5.0

fixed bugs in rotations and in drawing of some shapes, added rotation by Euler angles, various update in doc and in code

Download
1.4.0

add missing demos

Download
1.3.0

some bug fixes, demo files as published m-files.

Download
1.0.0

Download