Wildmeshing Toolkit
as_mesh_variant.cpp
Go to the documentation of this file.
1 #include "as_mesh_variant.hpp"
2 #include <wmtk/EdgeMesh.hpp>
3 #include <wmtk/PointMesh.hpp>
4 #include <wmtk/TetMesh.hpp>
5 #include <wmtk/TriMesh.hpp>
6 #include "as_variant.hpp"
7 
8 
10 
11 
13 {
14  return as_variant<MeshVariantTraits>(mesh);
15 }
17 {
18  return as_const_variant<MeshVariantTraits>(mesh);
19 }
20 } // namespace wmtk::utils::metaprogramming
MeshVariantTraits::ConstReferenceVariant ConstMeshVariantType
ConstMeshVariantType as_const_mesh_variant(const Mesh &mesh)
MeshVariantType as_mesh_variant(Mesh &mesh)
MeshVariantTraits::ReferenceVariant MeshVariantType