Wildmeshing Toolkit
TupleInspector.cpp
Go to the documentation of this file.
1 #include "TupleInspector.hpp"
2 
3 #include <wmtk/utils/Logger.hpp>
4 
5 namespace wmtk::utils {
6 std::string TupleInspector::as_string(const Tuple& t)
7 {
8  return fmt::format(
9  "(gid {}:lids[v{},e{},f{}])",
10  global_cid(t),
11  local_vid(t),
12  local_eid(t),
13  local_fid(t));
14 }
15 } // namespace wmtk::utils
static int8_t local_eid(const Tuple &t)
static int64_t global_cid(const Tuple &t)
static std::string as_string(const Tuple &t)
static int8_t local_vid(const Tuple &t)
static int8_t local_fid(const Tuple &t)