23#ifndef VCL_MESH_ELEMENTS_BASE_BASE_H
24#define VCL_MESH_ELEMENTS_BASE_BASE_H
26#include <vclib/base.h>
92 const char*
str = ELEM_ID < ElemId::ELEMENTS_NUMBER ?
105template<u
int ELEM_ID>
110 "Invalid ElementIDEnum. You should specialize 'the ElementString' "
111 "struct with your ELEM_ID value.");
125template<u
int ELEM_ID>
A class representing a box in N-dimensional space.
Definition box.h:46
constexpr const char * elementEnumCString()
Returns the string associated to the ELEM_ID value.
Definition base.h:106
const std::string & elementEnumString()
Returns the string associated to the ELEM_ID value.
Definition base.h:126
constexpr const char * ELEMENT_ENUM_STRINGS[ElemId::ELEMENTS_NUMBER]
The ELEMENT_ENUM_STRINGS array contains the string representation of the elements that can compose a ...
Definition base.h:69
The ElemId struct enumerates the elements that can compose a mesh.
Definition base.h:54
The ElementString class is used to retrieve the string associated to a ELEM_ID value,...
Definition base.h:88
const char * str
The string associated to the ELEM_ID.
Definition base.h:92