MeshCore::MeshRefFacetToFacets Class Reference

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

std::vector< FacetIndexGetIndices (FacetIndex, FacetIndex) const
 Returns an array of common facets of the passed facet indexes. More...
 
 MeshRefFacetToFacets (const MeshKernel &rclM)
 Construction. More...
 
const std::set< FacetIndex > & operator[] (FacetIndex) const
 Returns a set of facets sharing one or more points with the facet with index ulFacetIndex. More...
 
void Rebuild ()
 Rebuilds up data structure. More...
 
 ~MeshRefFacetToFacets ()
 Destruction. More...
 

Detailed Description

The MeshRefFacetToFacets builds up a structure to have access to all facets sharing at least one same point.

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

Constructor & Destructor Documentation

◆ MeshRefFacetToFacets()

MeshCore::MeshRefFacetToFacets::MeshRefFacetToFacets ( const MeshKernel rclM)

Construction.

◆ ~MeshRefFacetToFacets()

MeshCore::MeshRefFacetToFacets::~MeshRefFacetToFacets ( )

Destruction.

Member Function Documentation

◆ GetIndices()

std::vector< FacetIndex > MeshRefFacetToFacets::GetIndices ( FacetIndex  pos1,
FacetIndex  pos2 
) const

Returns an array of common facets of the passed facet indexes.

◆ operator[]()

const std::set< FacetIndex > & MeshRefFacetToFacets::operator[] ( FacetIndex  pos) const

Returns a set of facets sharing one or more points with the facet with index ulFacetIndex.

◆ Rebuild()

void MeshRefFacetToFacets::Rebuild ( )

Rebuilds up data structure.


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