Geometric computing library for 3D shapes: meshes, points, lines, planes...
Aktualisiert 28. Feb 2022

Lizenz anzeigen

Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week

The aim of geom3d library is to handle and visualize 3D geometric primitives such as points, lines, planes, polyhedra... It provides low-level functions for manipulating 3D geometric primitives, making easier the development of more complex geometric algorithms.
Note: the project has merged with the geom2d library (FeX 7844-geom2d), and is now hosted on GitHub: The whole package can be retrieved from the matGeom toolbox contribution.

Zitieren als

David Legland (2024). geom3d (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2019a
Kompatibel mit allen Versionen
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!







Version Veröffentlicht Versionshinweise

add link to matGeom (GitHub + FEx contribution)


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

package as mltbx file

package as toolbox.

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

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

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

remove deprecated functions, update some display functions

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

fix bug in polyhedronCentroid

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

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

fix various small bugs

fixed bug in surfToMesh

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

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

fix bugs in demos

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.

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

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

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

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

add missing demos

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