mt
 All Classes Files Functions Enumerations Groups Pages
Public Member Functions | List of all members
mt::Element Class Reference

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.

Detailed Description

Geometric element description class.

Geometric elements are described by their respective geometric representation and a string with the element name.


The documentation for this class was generated from the following file: