Computational Geometry Toolbox
In this submission, finite element mesh, Delaunay triangulations and Voronoi diagrams are generated through the use of the convex hull algorithm, which is implemented in an optimized way that maximizes speed and performance. The Delaynay triangulation and Voronoi diagram algorithms are essentially based on the convex hull algorithm. Information about the code and the ways to be used is shown in 'Theory of convex hulls, Delaunay triangulations and Voronoi diagrams'. The convex hull algorithm is applied by the function 'convhull_nd', the Delaunay triangulation by the function 'delaunay_nd' and the Voronoi diagram by the function 'voronoi_nd'. All functions included in this package can be used for any dimension n. The use of the three aforementioned functions is illustrated by many examples, included in the file 'Contents'.
The functions included in this submission can be used for the generation of finite element and boundary element meshes, which are utilized for discretization of various media, structural or not, to be numerically analysed.
Apart from this, they can be used to solve various problems of computational geometry, such as:
- convex hulls
- intersections
- triangulation and partitioning
- line arrangements and duality
- Voronoi diagrams and Delaunay triangulations
- Point in polygon, etc.
It has to be noted that most of these problems (many of which are included in this package as solved examples) are solved using essentially the convex hull algorithm.
References:
[1] The Quickhull Algorithm for Convex Hull, C. Bradford Barber, David P. Dobkin and Hannu Huhdanpaa, Geometry Center Technical Report GCG53, July 30, 1993.
[2] Voronoi Diagrams from Convex Hulls, Kevin Q. Brown, Information Processing Letters, Vol.9, No.5, December 16, 1979
[3] Voronoi Diagrams and Arrangements, Herbert Edelsbrunner and Raimund Seidel, Discrete & Computational Geometry 1:25-44, 1986
Citar como
George Papazafeiropoulos (2024). Computational Geometry Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/48509-computational-geometry-toolbox), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Mathematics > Computational Geometry >
- MATLAB > Mathematics > Computational Geometry > Voronoi Diagram >
- Engineering > Mechanical Engineering > Additive Manufacturing and 3D Printing >
Etiquetas
Agradecimientos
Inspiración para: Advanced Techniques for 3D Model Generation in MATLAB
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
COMP_GEOM_TLBX
COMP_GEOM_TLBX
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.3 | Some bugs observed by Xianyang Zhu have been resolved |
|
|
1.2 | Minor amendments. |
|
|
1.1.0.0 | Content offered as a toolbox (.mltbx file), |
|
|
1.0.0.0 |