Wildmeshing Toolkit
relative_face_index.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <cstdint>
3 #include <wmtk/PrimitiveType.hpp>
4 
5 namespace wmtk::autogen {
6 class SimplexDart;
7 }
8 namespace wmtk::autogen::utils {
16 int8_t relative_face_index(
17  const SimplexDart& sd,
18  int8_t current_orientation,
19  PrimitiveType target_type,
20  int8_t target_index);
21 
22 } // namespace wmtk::autogen::utils
int8_t relative_face_index(const SimplexDart &sd, int8_t current_orientation, PrimitiveType target_type, int8_t target_index)
: Returns the relative local index of a simplex with respect to an orientation When we switch a dart ...