#include "post/Mesh.h"
#include "objects/finders/Order.h"
#include <map>
#include <set>
Go to the source code of this file.
◆ getMeshFromTriangles()
Converts array of triangles into a mesh.
The mesh contains a set of unique vertices and faces as indices into the vertex array.
- Parameters
-
triangles | Input array of triangles. |
eps | Tolerancy for two vertices to be considered equal. |
Definition at line 83 of file Mesh.cpp.
◆ getTrianglesFromMesh()
Expands the mesh into an array of triangles.
Definition at line 169 of file Mesh.cpp.
◆ isMeshClosed()
bool isMeshClosed |
( |
const Mesh & |
mesh | ) |
|
Checks if the mesh represents a single closed surface.
- Todo:
- or invalid (edge shared by >2 faces)
Definition at line 12 of file Mesh.cpp.
◆ makeEdge()
◆ refineMesh()
void refineMesh |
( |
Mesh & |
mesh | ) |
|
Improves mesh quality using edge flips (valence equalization) and tangential relaxation.
Definition at line 29 of file Mesh.cpp.
◆ subdivideMesh()
void subdivideMesh |
( |
Mesh & |
mesh | ) |
|
Subdivides all triangles of the mesh using 1-4 scheme.
Definition at line 56 of file Mesh.cpp.