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 | |
MeshRefFacetToFacets (const MeshKernel &rclM) | |
Construction. | |
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. | |
void | Rebuild (void) |
Rebuilds up data structure. | |
~MeshRefFacetToFacets (void) | |
Destruction. | |
Protected Attributes | |
std::vector< std::set < unsigned long > > | _map |
const MeshKernel & | _rclMesh |
The mesh kernel. |
The MeshRefFacetToFacets builds up a structure to have access to all facets sharing at least one same point.
Definition at line 352 of file Algorithm.h.
MeshCore::MeshRefFacetToFacets::MeshRefFacetToFacets | ( | const MeshKernel & | rclM | ) | [inline] |
Construction.
Definition at line 356 of file Algorithm.h.
MeshCore::MeshRefFacetToFacets::~MeshRefFacetToFacets | ( | void | ) | [inline] |
Destruction.
Definition at line 359 of file Algorithm.h.
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.
Definition at line 1811 of file Algorithm.cpp.
References _map.
void MeshRefFacetToFacets::Rebuild | ( | void | ) |
Rebuilds up data structure.
Definition at line 1792 of file Algorithm.cpp.
References _map, _rclMesh, Mesh2Shape::faces, MeshCore::MeshKernel::GetFacets(), and insert().
std::vector<std::set<unsigned long> > MeshCore::MeshRefFacetToFacets::_map [protected] |
Definition at line 370 of file Algorithm.h.
Referenced by operator[](), and Rebuild().
const MeshKernel& MeshCore::MeshRefFacetToFacets::_rclMesh [protected] |