MeshCore::MeshRefFacetToFacets Class Reference
The MeshRefFacetToFacets builds up a structure to have access to all facets sharing at least one same point. More...
#include <Algorithm.h>
Public Member Functions | |
std::vector< unsigned long > | GetIndices (unsigned long, unsigned long) const |
Returns an array of common facets of the passed facet indexes. More... | |
MeshRefFacetToFacets (const MeshKernel &rclM) | |
Construction. More... | |
const std::set< unsigned long > & | operator[] (unsigned long) const |
Returns a set of facets sharing one or more points with the facet with index ulFacetIndex. More... | |
void | Rebuild (void) |
Rebuilds up data structure. More... | |
~MeshRefFacetToFacets (void) | |
Destruction. More... | |
Detailed Description
The MeshRefFacetToFacets builds up a structure to have access to all facets sharing at least one same point.
- Note
- If the underlying mesh kernel gets changed this structure becomes invalid and must be rebuilt.
Constructor & Destructor Documentation
◆ MeshRefFacetToFacets()
MeshCore::MeshRefFacetToFacets::MeshRefFacetToFacets | ( | const MeshKernel & | rclM | ) |
Construction.
◆ ~MeshRefFacetToFacets()
MeshCore::MeshRefFacetToFacets::~MeshRefFacetToFacets | ( | void | ) |
Destruction.
Member Function Documentation
◆ GetIndices()
std::vector< unsigned long > MeshRefFacetToFacets::GetIndices | ( | unsigned long | pos1, |
unsigned long | pos2 | ||
) | const |
Returns an array of common facets of the passed facet indexes.
◆ operator[]()
const std::set< unsigned long > & MeshRefFacetToFacets::operator[] | ( | unsigned long | pos | ) | const |
Returns a set of facets sharing one or more points with the facet with index ulFacetIndex.
◆ Rebuild()
void MeshRefFacetToFacets::Rebuild | ( | void | ) |
Rebuilds up data structure.
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Algorithm.h
- src/Mod/Mesh/App/Core/Algorithm.cpp