Wildmeshing Toolkit
as_mesh_variant.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <functional>
3 #include <variant>
4 #include "MeshVariantTraits.hpp"
5 
7 
8 
9 
10 // converts a mesh to one of the derived classes we haev available
11 // if the messh type is uknown the returned type is still mesh
13 
14 // const version of as_mesh_variant
16 
17 
18 } // namespace wmtk::utils
MeshVariantTraits::ConstReferenceVariant ConstMeshVariantType
ConstMeshVariantType as_const_mesh_variant(const Mesh &mesh)
MeshVariantType as_mesh_variant(Mesh &mesh)
MeshVariantTraits::ReferenceVariant MeshVariantType