Loading...
Searching...
No Matches
typename.hh
#pragma once
#include <string>
#include <typeinfo>
#include <vector>
#include <OpenMesh/Core/Mesh/Handles.hh>
#include <OpenMesh/Core/Geometry/VectorT.hh>
namespace OpenMesh {
template <typename T>
std::string get_type_name()
{
#ifdef _MSC_VER
// MSVC'S type_name returns only a friendly name with name() method,
// to get a unique name use raw_name() method instead
return typeid(T).raw_name();
#else
// GCC and clang curently return mangled name as name(), there is no raw_name() method
return typeid(T).name();
#endif
}
}//namespace OpenMesh
OpenMesh
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:59