MeshCore::MeshRefEdgeToFacets Class Reference

The MeshRefEdgeToFacets builds up a structure to have access to all facets of an edge. More...

#include <Algorithm.h>

List of all members.

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.

Detailed Description

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.

Note:
If the underlying mesh kernel gets changed this structure becomes invalid and must be rebuilt.

Definition at line 406 of file Algorithm.h.


Member Typedef Documentation

typedef std::pair<unsigned long, unsigned long> MeshCore::MeshRefEdgeToFacets::MeshFacetPair [protected]

Definition at line 435 of file Algorithm.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Member Data Documentation

Definition at line 437 of file Algorithm.h.

Referenced by operator[](), and Rebuild().

The mesh kernel.

Definition at line 436 of file Algorithm.h.

Referenced by Rebuild().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:25 2011 for FreeCAD by  doxygen 1.6.1