Wildmeshing Toolkit
local_id_table_offset.cpp
Go to the documentation of this file.
5 
6 namespace wmtk::autogen::utils {
7 auto local_id_table_offset(PrimitiveType mesh_type, const Tuple& t) -> int8_t
8 {
9  switch (mesh_type) {
15  case PrimitiveType::Vertex: return 0;
16  default: assert(false);
17  }
18  return 0;
19 }
20 } // namespace wmtk::autogen::utils
int64_t local_id_table_offset(const Tuple &t)
int64_t local_id_table_offset(const Tuple &t)
int64_t local_id_table_offset(const Tuple &t)
auto local_id_table_offset(PrimitiveType mesh_type, const Tuple &t) -> int8_t