The MeshFixMergeFacets class removes vertexes which have three adjacent vertexes and is referenced by three facets. More...
#include <Degeneration.h>
Public Member Functions | |
bool | Fixup () |
Removes deformed facets. More... | |
MeshFixMergeFacets (MeshKernel &rclM) | |
Construction. More... | |
~MeshFixMergeFacets () | |
Destruction. More... | |
Public Member Functions inherited from MeshCore::MeshValidation | |
MeshValidation (MeshKernel &rclB) | |
virtual | ~MeshValidation () |
Detailed Description
The MeshFixMergeFacets class removes vertexes which have three adjacent vertexes and is referenced by three facets.
Usually all the three facets that reference this vertex are not well-formed. If the number of adjacent vertexes is equal to the number of adjacent facets the affected vertex never lies on the boundary and thus it's safe to delete and replace the three facets with a single facet. Effectively this algorithm does the opposite of MeshTopoAlgorithm::InsertVertex
Constructor & Destructor Documentation
◆ MeshFixMergeFacets()
MeshCore::MeshFixMergeFacets::MeshFixMergeFacets | ( | MeshKernel & | rclM | ) |
Construction.
◆ ~MeshFixMergeFacets()
MeshCore::MeshFixMergeFacets::~MeshFixMergeFacets | ( | ) |
Destruction.
Member Function Documentation
◆ Fixup()
|
virtual |
Removes deformed facets.
Implements MeshCore::MeshValidation.
References MeshCore::MeshTopoAlgorithm::Cleanup(), and MeshCore::MeshTopoAlgorithm::CollapseVertex().
Referenced by Mesh::MeshObject::mergeFacets().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Degeneration.h
- src/Mod/Mesh/App/Core/Degeneration.cpp