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::ELEMENT_COUNT ?
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 line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:41
constexpr const char * elementEnumCString()
Returns the string associated to the ELEM_ID value.
Definition base.h:106
constexpr const char * ELEMENT_ENUM_STRINGS[ElemId::ELEMENT_COUNT]
The ELEMENT_ENUM_STRINGS array contains the string representation of the elements that can compose a ...
Definition base.h:69
const std::string & elementEnumString()
Returns the string associated to the ELEM_ID value.
Definition base.h:126
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