Lagrange
Loading...
Searching...
No Matches
MeshWrapper< Scalar, Index > Struct Template Reference

Public Member Functions

 MeshWrapper (const SurfaceMesh< Scalar, Index > &mesh_)
 
size_t num_simplices () const
 
size_t num_vertices () const
 
size_t num_texcoords () const
 
Vector< double, Dim > vertex (size_t i) const
 
Vector< double, K > texcoord (size_t i) const
 
int vertex_index (size_t f, unsigned int k) const
 
int texture_index (size_t f, unsigned int k) const
 
Simplex< double, K, K > simplex_texcoords (size_t f) const
 
Simplex< double, Dim, K > simplex_vertices (size_t f) const
 
SimplexIndex< K > facet_indices (size_t f) const
 

Public Attributes

SurfaceMesh< Scalar, Index > mesh
 
span< const Scalarvertices
 
span< Scalartexcoords
 
span< const Index > vertex_indices
 
span< const Index > texture_indices
 
AttributeElement texture_element = AttributeElement::Value
 

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