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< FacetIndex > | GetIndices (FacetIndex, FacetIndex) const |
Returns an array of common facets of the passed facet indexes. More... | |
MeshRefFacetToFacets (const MeshKernel &rclM) | |
Construction. More... | |
const std::set< FacetIndex > & | operator[] (FacetIndex) const |
Returns a set of facets sharing one or more points with the facet with index ulFacetIndex. More... | |
void | Rebuild () |
Rebuilds up data structure. More... | |
~MeshRefFacetToFacets () | |
Destruction. More... | |
The MeshRefFacetToFacets builds up a structure to have access to all facets sharing at least one same point.
MeshCore::MeshRefFacetToFacets::MeshRefFacetToFacets | ( | const MeshKernel & | rclM | ) |
Construction.
MeshCore::MeshRefFacetToFacets::~MeshRefFacetToFacets | ( | ) |
Destruction.
std::vector< FacetIndex > MeshRefFacetToFacets::GetIndices | ( | FacetIndex | pos1, |
FacetIndex | pos2 | ||
) | const |
Returns an array of common facets of the passed facet indexes.
const std::set< FacetIndex > & MeshRefFacetToFacets::operator[] | ( | FacetIndex | pos | ) | const |
Returns a set of facets sharing one or more points with the facet with index ulFacetIndex.
void MeshRefFacetToFacets::Rebuild | ( | ) |
Rebuilds up data structure.