aimstil  5.0.5
til::List2GraphMeshConvertor< TVertexNode, TFaceNode, TVertexCollection, TFaceCollection, TNeighborCollection > Class Template Reference

Converts a (vertexCollection, faceCollection) mesh into a (vertexList, faceList) mesh graph. More...

#include <cathier/mesh_conversion.h>

Public Member Functions

void operator() (TVertexCollection const &vertices, TFaceCollection const &faceIndices, std::vector< std::list< std::size_t > > const &invertedFaceIndices, TNeighborCollection const &neighbors, std::list< TVertexNode > &graph_vertices, std::list< TFaceNode > &graph_faces)
 

Detailed Description

template<typename TVertexNode, typename TFaceNode, typename TVertexCollection, typename TFaceCollection, typename TNeighborCollection>
class til::List2GraphMeshConvertor< TVertexNode, TFaceNode, TVertexCollection, TFaceCollection, TNeighborCollection >

Converts a (vertexCollection, faceCollection) mesh into a (vertexList, faceList) mesh graph.

Definition at line 55 of file mesh_conversion.h.

Member Function Documentation

◆ operator()()

template<typename TVertexNode, typename TFaceNode, typename TVertexCollection, typename TFaceCollection, typename TNeighborCollection>
void til::List2GraphMeshConvertor< TVertexNode, TFaceNode, TVertexCollection, TFaceCollection, TNeighborCollection >::operator() ( TVertexCollection const &  vertices,
TFaceCollection const &  faceIndices,
std::vector< std::list< std::size_t > > const &  invertedFaceIndices,
TNeighborCollection const &  neighbors,
std::list< TVertexNode > &  graph_vertices,
std::list< TFaceNode > &  graph_faces 
)
Parameters
[in]verticesmesh vertices
[in]faceIndicesmesh faces
[in]invertedFaceIndicesinverted face indices
[in]neighborsvertex neighborhoods

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