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

Protected Types

typedef std::pair< unsigned long, unsigned long > MeshFacetPair
 

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

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

Constructor & Destructor Documentation

◆ MeshRefEdgeToFacets()

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

Construction.

◆ ~MeshRefEdgeToFacets()

MeshCore::MeshRefEdgeToFacets::~MeshRefEdgeToFacets ( void  )

Destruction.

Member Function Documentation

◆ operator[]()

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

◆ Rebuild()

void MeshRefEdgeToFacets::Rebuild ( void  )

Rebuilds up data structure.


The documentation for this class was generated from the following files:
  • src/Mod/Mesh/App/Core/Algorithm.h
  • src/Mod/Mesh/App/Core/Algorithm.cpp