Wildmeshing Toolkit
|
#include <stdexcept>
#include <string_view>
#include <vector>
Go to the source code of this file.
Namespaces | |
wmtk | |
Enumerations | |
enum class | wmtk::PrimitiveType : int8_t { wmtk::Vertex = 0 , wmtk::Edge = 1 , wmtk::Triangle = 2 , wmtk::Tetrahedron = 3 } |
Functions | |
constexpr int8_t | wmtk::get_primitive_type_id (PrimitiveType t) |
Get a unique integer id corresponding to each primitive type. More... | |
constexpr PrimitiveType | wmtk::operator- (PrimitiveType pt, int8_t n) |
constexpr PrimitiveType | wmtk::operator+ (PrimitiveType pt, int8_t n) |
constexpr bool | wmtk::operator== (PrimitiveType a, PrimitiveType b) |
constexpr bool | wmtk::operator!= (PrimitiveType a, PrimitiveType b) |
constexpr bool | wmtk::operator< (PrimitiveType a, PrimitiveType b) |
constexpr bool | wmtk::operator> (PrimitiveType a, PrimitiveType b) |
constexpr bool | wmtk::operator<= (PrimitiveType a, PrimitiveType b) |
constexpr bool | wmtk::operator>= (PrimitiveType a, PrimitiveType b) |
constexpr PrimitiveType | wmtk::get_primitive_type_from_id (int8_t id) |
Get the primitive type corresponding to its unique integer id. More... | |
int8_t | wmtk::get_max_primitive_type_id (const std::vector< PrimitiveType > &primitive_types) |
Get the maximum id for a list of primitive types. More... | |
std::string_view | wmtk::primitive_type_name (PrimitiveType t) |