MeshCore::MeshRefEdgeToFacets Class Reference

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. More...
 
const std::pair< FacetIndex, FacetIndex > & operator[] (const MeshEdge &) const
 
void Rebuild ()
 Rebuilds up data structure. More...
 
 ~MeshRefEdgeToFacets ()
 Destruction. More...
 

Protected Types

typedef std::pair< FacetIndex, FacetIndexMeshFacetPair
 

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.

Member Typedef Documentation

◆ MeshFacetPair

Constructor & Destructor Documentation

◆ MeshRefEdgeToFacets()

MeshCore::MeshRefEdgeToFacets::MeshRefEdgeToFacets ( const MeshKernel rclM)

Construction.

◆ ~MeshRefEdgeToFacets()

MeshCore::MeshRefEdgeToFacets::~MeshRefEdgeToFacets ( )

Destruction.

Member Function Documentation

◆ operator[]()

const std::pair< FacetIndex, FacetIndex > & MeshRefEdgeToFacets::operator[] ( const MeshEdge edge) const

◆ Rebuild()

void MeshRefEdgeToFacets::Rebuild ( )

Rebuilds up data structure.

References MeshCore::FACET_INDEX_MAX.


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