10 : m_primitive_type{primitive_type}
14 : m_primitive_type{simplex.primitive_type()}
15 , m_tuple{simplex.tuple()}
19 , m_tuple{cell.tuple()}
bool operator<(const Primitive &o) const
PrimitiveType m_primitive_type
Primitive(const PrimitiveType &primitive_type, const Tuple &t)
static Primitive edge(const Tuple &t)
static Primitive face(const Tuple &t)
bool operator==(const Primitive &o) const
static Primitive vertex(const Tuple &t)
const Tuple & tuple() const
static Primitive tetrahedron(const Tuple &t)
PrimitiveType primitive_type() const
constexpr PrimitiveType get_primitive_type_from_id(int8_t id)
Get the primitive type corresponding to its unique integer id.