Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::axis_swap_mesh_t< mesh_t > Class Template Reference

Swaps any number of axis in the mesh. More...

#include <axis_swap_mesh.hpp>

Classes

class  triangles_t
 

Public Types

using vertices_t = typename impl_t::vertices_t
 

Public Member Functions

 axis_swap_mesh_t (mesh_t mesh, axis_t x, axis_t y, axis_t z)
 
triangles_t triangles () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename mesh_t>
class generator::axis_swap_mesh_t< mesh_t >

Swaps any number of axis in the mesh.

Definition at line 13 of file axis_swap_mesh.hpp.

Member Typedef Documentation

◆ vertices_t

template<typename mesh_t >
using generator::axis_swap_mesh_t< mesh_t >::vertices_t = typename impl_t::vertices_t

Definition at line 83 of file axis_swap_mesh.hpp.

Constructor & Destructor Documentation

◆ axis_swap_mesh_t()

template<typename mesh_t >
generator::axis_swap_mesh_t< mesh_t >::axis_swap_mesh_t ( mesh_t mesh,
axis_t x,
axis_t y,
axis_t z )
inline
Parameters
meshSource data mesh.
xAxis to be used as the x-axis
yAxis to be used as the y-axis
zAxis to be used as the z-axis

Definition at line 57 of file axis_swap_mesh.hpp.

Member Function Documentation

◆ triangles()

template<typename mesh_t >
triangles_t generator::axis_swap_mesh_t< mesh_t >::triangles ( ) const
inlinenoexcept

Definition at line 78 of file axis_swap_mesh.hpp.

◆ vertices()

template<typename mesh_t >
vertices_t generator::axis_swap_mesh_t< mesh_t >::vertices ( ) const
inlinenoexcept

Definition at line 85 of file axis_swap_mesh.hpp.


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