Fix a mesh.
More...
#include <Plugin-MeshRepair/MeshFixingT.hh>
|
| MeshFixing (MeshT &_mesh, double _epsilon) |
|
bool | fix () |
|
|
TriMesh & | mesh_ |
|
std::vector< Vertex > | vertices_ |
|
std::vector< Face > | faces_ |
|
VertexMap | vmap_ |
|
template<class MeshT>
class MeshFixing< MeshT >
Fix a mesh.
Definition at line 89 of file MeshFixingT.hh.
◆ add_face()
Add a face to the fixing data.
Degenerated faces will already be discarded in this step
- Parameters
-
Definition at line 99 of file MeshFixingT_impl.hh.
◆ add_vertex()
Add a vertex to the map
- Parameters
-
- Returns
- Index of the vertex
Definition at line 93 of file MeshFixingT_impl.hh.
◆ fix_orientation()
Tries to ensure that all faces in one component have the same orientation.
Definition at line 308 of file MeshFixingT_impl.hh.
◆ fix_topology()
Fix the mesh topology.
Separates all components that are incident to the vertices by adding new vertices. Required to always get a manifold configuration
Definition at line 142 of file MeshFixingT_impl.hh.
◆ neighbor()
template<class MeshT >
int MeshFixing< MeshT >::neighbor |
( |
unsigned int |
_f, |
|
|
unsigned int |
_v0, |
|
|
unsigned int |
_v1 |
|
) |
| |
|
private |
Get the neighbor
- Parameters
-
_f | Current face |
_v0 | Center vertex |
_v1 | Test vertex |
- Returns
Definition at line 271 of file MeshFixingT_impl.hh.
The documentation for this class was generated from the following files: