The MeshFixDeformedFacets class tries to fix deformed facets by swapping the commong edge with one of their neighbours. More...
#include <Degeneration.h>
Public Member Functions | |
| bool | Fixup () |
| Removes deformed facets. | |
| MeshFixDeformedFacets (MeshKernel &rclM, float fAngle) | |
| Construction. | |
| ~MeshFixDeformedFacets () | |
| Destruction. | |
The MeshFixDeformedFacets class tries to fix deformed facets by swapping the commong edge with one of their neighbours.
Definition at line 286 of file Degeneration.h.
| MeshCore::MeshFixDeformedFacets::MeshFixDeformedFacets | ( | MeshKernel & | rclM, | |
| float | fAngle | |||
| ) | [inline] |
Construction.
Definition at line 292 of file Degeneration.h.
| MeshCore::MeshFixDeformedFacets::~MeshFixDeformedFacets | ( | ) | [inline] |
Destruction.
Definition at line 296 of file Degeneration.h.
| bool MeshFixDeformedFacets::Fixup | ( | ) | [virtual] |
Removes deformed facets.
Implements MeshCore::MeshValidation.
Definition at line 570 of file Degeneration.cpp.
References MeshCore::MeshFacet::_aulNeighbours, MeshCore::MeshValidation::_rclMesh, SketcherExample::f, MeshCore::MeshFacetIterator::GetReference(), MeshCore::MeshFacetIterator::Init(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), Base::Vector3< _Precision >::Normalize(), MeshCore::MeshFacetIterator::Position(), MeshCore::MeshTopoAlgorithm::ShouldSwapEdge(), and MeshCore::MeshTopoAlgorithm::SwapEdge().
Referenced by Mesh::MeshObject::validateDeformations().
1.6.1