The MeshRefPointToFacets builds up a structure to have access to all facets indexing a point. More...
#include <Algorithm.h>
Public Member Functions | |
| void | AddNeighbour (PointIndex, FacetIndex) |
| MeshFacetArray::_TConstIterator | GetFacet (FacetIndex) const |
| std::vector< FacetIndex > | GetIndices (PointIndex, PointIndex) const |
| std::vector< FacetIndex > | GetIndices (PointIndex, PointIndex, PointIndex) const |
| Base::Vector3f | GetNormal (PointIndex) const |
| MeshRefPointToFacets (const MeshKernel &rclM) | |
| Construction. More... | |
| std::set< PointIndex > | NeighbourPoints (const std::vector< PointIndex > &, int level) const |
| std::set< PointIndex > | NeighbourPoints (PointIndex) const |
| void | Neighbours (FacetIndex ulFacetInd, float fMaxDist, MeshCollector &collect) const |
| const std::set< FacetIndex > & | operator[] (PointIndex) const |
| void | Rebuild () |
| Rebuilds up data structure. More... | |
| void | RemoveFacet (FacetIndex) |
| void | RemoveNeighbour (PointIndex, FacetIndex) |
| ~MeshRefPointToFacets () | |
| Destruction. More... | |
Protected Member Functions | |
| void | SearchNeighbours (const MeshFacetArray &rFacets, FacetIndex index, const Base::Vector3f &rclCenter, float fMaxDist, std::set< FacetIndex > &visit, MeshCollector &collect) const |
The MeshRefPointToFacets builds up a structure to have access to all facets indexing a point.
| MeshCore::MeshRefPointToFacets::MeshRefPointToFacets | ( | const MeshKernel & | rclM | ) |
Construction.
| MeshCore::MeshRefPointToFacets::~MeshRefPointToFacets | ( | ) |
Destruction.
| void MeshRefPointToFacets::AddNeighbour | ( | PointIndex | pos, |
| FacetIndex | facet | ||
| ) |
Referenced by MeshCore::MeshRemoveNeedles::Fixup().
| MeshFacetArray::_TConstIterator MeshRefPointToFacets::GetFacet | ( | FacetIndex | index | ) | const |
| std::vector< FacetIndex > MeshRefPointToFacets::GetIndices | ( | PointIndex | pos1, |
| PointIndex | pos2 | ||
| ) | const |
Referenced by GetIndices().
| std::vector< FacetIndex > MeshRefPointToFacets::GetIndices | ( | PointIndex | pos1, |
| PointIndex | pos2, | ||
| PointIndex | pos3 | ||
| ) | const |
References GetIndices().
| Base::Vector3f MeshRefPointToFacets::GetNormal | ( | PointIndex | pos | ) | const |
References Base::Vector3< _Precision >::Normalize().
| std::set< PointIndex > MeshRefPointToFacets::NeighbourPoints | ( | const std::vector< PointIndex > & | pt, |
| int | level | ||
| ) | const |
| std::set< PointIndex > MeshRefPointToFacets::NeighbourPoints | ( | PointIndex | pos | ) | const |
| void MeshRefPointToFacets::Neighbours | ( | FacetIndex | ulFacetInd, |
| float | fMaxDist, | ||
| MeshCollector & | collect | ||
| ) | const |
References SearchNeighbours().
Referenced by MeshCore::FacetCurvature::Compute().
| const std::set< FacetIndex > & MeshRefPointToFacets::operator[] | ( | PointIndex | pos | ) | const |
| void MeshRefPointToFacets::Rebuild | ( | ) |
Rebuilds up data structure.
| void MeshRefPointToFacets::RemoveFacet | ( | FacetIndex | facetIndex | ) |
Referenced by MeshCore::MeshRemoveNeedles::Fixup().
| void MeshRefPointToFacets::RemoveNeighbour | ( | PointIndex | pos, |
| FacetIndex | facet | ||
| ) |
Referenced by MeshCore::MeshRemoveNeedles::Fixup().
|
protected |
References MeshCore::MeshCollector::Append(), Base::DistanceP2(), and SearchNeighbours().
Referenced by Neighbours(), and SearchNeighbours().