RINGMesh  Version 5.0.0
A programming library for geological model meshes
types.h File Reference
#include <geogram/basic/geometry.h>
#include <geogram/basic/numeric.h>

Go to the source code of this file.

Classes

struct  RINGMesh::EnableBitMaskOperators< Enum >
 

Namespaces

 RINGMesh
 Classes to build GeoModel from various inputs.
 

Macros

#define ENABLE_BITMASK_OPERATORS(Enum)
 

Typedefs

template<index_t DIMENSION>
using RINGMesh::vecn = GEO::vecng< DIMENSION, double >
 
using RINGMesh::vec3 = vecn< 3 >
 
using RINGMesh::vec2 = vecn< 2 >
 

Enumerations

enum  RINGMesh::CellType : index_t {
  RINGMesh::CellType::TETRAHEDRON = 0, RINGMesh::CellType::HEXAHEDRON = 1, RINGMesh::CellType::PRISM = 2, RINGMesh::CellType::PYRAMID = 3,
  RINGMesh::CellType::UNCLASSIFIED = 4, RINGMesh::CellType::UNDEFINED = 5
}
 
enum  RINGMesh::PolygonType : index_t { RINGMesh::PolygonType::TRIANGLE = 0, RINGMesh::PolygonType::QUAD = 1, RINGMesh::PolygonType::UNCLASSIFIED = 2, RINGMesh::PolygonType::UNDEFINED = 3 }
 

Functions

template<typename Enum >
auto RINGMesh::to_underlying_type (Enum e) -> typename std::underlying_type< Enum >::type
 
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type RINGMesh::operator| (Enum lhs, Enum rhs)
 
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type RINGMesh::operator & (Enum lhs, Enum rhs)
 
template<typename Enum >
std::enable_if< EnableBitMaskOperators< Enum >::enable, Enum >::type RINGMesh::operator^ (Enum lhs, Enum rhs)
 
template<typename Enum >
bool RINGMesh::enum_contains (Enum lhs, Enum rhs)
 

Macro Definition Documentation

◆ ENABLE_BITMASK_OPERATORS

#define ENABLE_BITMASK_OPERATORS (   Enum)
Value:
template <> \
struct EnableBitMaskOperators< Enum > \
{ \
static const bool enable = true; \
}

Definition at line 162 of file types.h.