MeshCore::MeshFixTopology Class Reference
The MeshFixTopology class tries to fix a few cases of non-manifolds. More...
#include <Evaluation.h>
Public Member Functions | |
bool | Fixup () |
This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise. More... | |
const std::vector< unsigned long > & | GetDeletedFaces () const |
MeshFixTopology (MeshKernel &rclB, const std::list< std::vector< unsigned long > > &mf) | |
virtual | ~MeshFixTopology () |
Public Member Functions inherited from MeshCore::MeshValidation | |
MeshValidation (MeshKernel &rclB) | |
virtual | ~MeshValidation () |
Protected Attributes | |
std::vector< unsigned long > | deletedFaces |
const std::list< std::vector< unsigned long > > & | nonManifoldList |
Detailed Description
The MeshFixTopology class tries to fix a few cases of non-manifolds.
- See also
- MeshEvalTopology
Constructor & Destructor Documentation
◆ MeshFixTopology()
MeshCore::MeshFixTopology::MeshFixTopology | ( | MeshKernel & | rclB, |
const std::list< std::vector< unsigned long > > & | mf | ||
) |
◆ ~MeshFixTopology()
|
virtual |
Member Function Documentation
◆ Fixup()
|
virtual |
This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise.
Implements MeshCore::MeshValidation.
References deletedFaces, MeshCore::MeshEvalTopology::Evaluate(), MeshCore::MeshEvalTopology::GetFacetManifolds(), and nonManifoldList.
Referenced by Mesh::MeshObject::removeNonManifolds().
◆ GetDeletedFaces()
const std::vector<unsigned long>& MeshCore::MeshFixTopology::GetDeletedFaces | ( | ) | const |
Referenced by Mesh::MeshObject::removeNonManifolds().
Member Data Documentation
◆ deletedFaces
|
protected |
Referenced by Fixup().
◆ nonManifoldList
|
protected |
Referenced by Fixup().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Evaluation.h
- src/Mod/Mesh/App/Core/Evaluation.cpp