The MeshRefEdgeToFacets builds up a structure to have access to all facets of an edge. More...
#include <Algorithm.h>
Classes | |
class | EdgeOrder |
Public Member Functions | |
MeshRefEdgeToFacets (const MeshKernel &rclM) | |
Construction. | |
const std::pair< unsigned long, unsigned long > & | operator[] (const MeshEdge &) const |
void | Rebuild (void) |
Rebuilds up data structure. | |
~MeshRefEdgeToFacets (void) | |
Destruction. | |
Protected Types | |
typedef std::pair< unsigned long, unsigned long > | MeshFacetPair |
Protected Attributes | |
std::map< MeshEdge, MeshFacetPair, EdgeOrder > | _map |
const MeshKernel & | _rclMesh |
The mesh kernel. |
The MeshRefEdgeToFacets builds up a structure to have access to all facets of an edge.
On a manifold mesh an edge has one or two facets associated.
Definition at line 406 of file Algorithm.h.
typedef std::pair<unsigned long, unsigned long> MeshCore::MeshRefEdgeToFacets::MeshFacetPair [protected] |
Definition at line 435 of file Algorithm.h.
MeshCore::MeshRefEdgeToFacets::MeshRefEdgeToFacets | ( | const MeshKernel & | rclM | ) | [inline] |
Construction.
Definition at line 410 of file Algorithm.h.
MeshCore::MeshRefEdgeToFacets::~MeshRefEdgeToFacets | ( | void | ) | [inline] |
Destruction.
Definition at line 413 of file Algorithm.h.
const std::pair< unsigned long, unsigned long > & MeshRefEdgeToFacets::operator[] | ( | const MeshEdge & | edge | ) | const |
Definition at line 1904 of file Algorithm.cpp.
References _map.
void MeshRefEdgeToFacets::Rebuild | ( | void | ) |
Rebuilds up data structure.
Definition at line 1879 of file Algorithm.cpp.
References _map, _rclMesh, and MeshCore::MeshKernel::GetFacets().
std::map<MeshEdge, MeshFacetPair, EdgeOrder> MeshCore::MeshRefEdgeToFacets::_map [protected] |
Definition at line 437 of file Algorithm.h.
Referenced by operator[](), and Rebuild().
const MeshKernel& MeshCore::MeshRefEdgeToFacets::_rclMesh [protected] |