Geometric element description class. More...
#include <element.h>
Public Member Functions | |
Element (const MtVariant &geom, const std::string &el_name="") | |
Constructor. | |
template<class T > | |
Element (const T &val, const std::string &el_name="") | |
bool | operator== (const Element &el) const |
bool | operator!= (const Element &el) const |
const MtVariant | getGeometry () const |
Gets element geometry. | |
MtVariant & | getGeometryRef () |
const MtVariant & | getGeometryRef () const |
const std::string | getName () const |
Gets element name. | |
std::string & | getNameRef () |
const std::string & | getNameRef () const |
void | setGeometry (const MtVariant &geom) |
Sets element geometry. | |
void | setName (const std::string &el_name) |
Sets element name. |
Geometric element description class.
Geometric elements are described by their respective geometric representation and a string with the element name.