Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::any_mesh Class Reference

A type erasing container that can store any mesh. More...

#include <any_mesh.hpp>

Public Member Functions

template<typename mesh_t >
 any_mesh (mesh_t mesh)
 
 any_mesh (const any_mesh &that)
 
 any_mesh (any_mesh &&)=default
 
any_meshoperator= (const any_mesh &that)
 
any_meshoperator= (any_mesh &&)=default
 
any_generator< triangle_ttriangles () const noexcept
 
any_generator< mesh_vertex_tvertices () const noexcept
 

Detailed Description

A type erasing container that can store any mesh.

Definition at line 14 of file any_mesh.hpp.

Constructor & Destructor Documentation

◆ any_mesh() [1/3]

template<typename mesh_t >
generator::any_mesh::any_mesh ( mesh_t mesh)
inline

Definition at line 18 of file any_mesh.hpp.

◆ any_mesh() [2/3]

any_mesh::any_mesh ( const any_mesh & that)

Definition at line 7 of file any_mesh.cpp.

◆ any_mesh() [3/3]

generator::any_mesh::any_mesh ( any_mesh && )
default

Member Function Documentation

◆ operator=() [1/2]

any_mesh & generator::any_mesh::operator= ( any_mesh && )
default

◆ operator=() [2/2]

any_mesh & any_mesh::operator= ( const any_mesh & that)

Definition at line 11 of file any_mesh.cpp.

◆ triangles()

any_generator< triangle_t > any_mesh::triangles ( ) const
noexcept

Definition at line 17 of file any_mesh.cpp.

◆ vertices()

any_generator< mesh_vertex_t > any_mesh::vertices ( ) const
noexcept

Definition at line 22 of file any_mesh.cpp.


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