|
SHAPER
9.15.0
|
Generic class to manipulate a topologic element (vertex, edge, face or solid). More...
Public Member Functions | |
| GeometricElement () | |
| Default constructor. More... | |
| GeometricElement (const std::string &name, const std::string &reference) | |
| Constructor with name and reference. More... | |
| virtual | ~GeometricElement () |
| Destructor. More... | |
| const std::string | getName () |
| Gets the name of the element. More... | |
| void | setName (const std::string &name) |
| Sets the name of the element. More... | |
| bool | hasName () |
| Checks if the element has a name. More... | |
| const std::string | getReference () |
| Gets the reference of the element. More... | |
| void | setReference (const std::string &reference) |
| Sets the reference of the element. More... | |
Generic class to manipulate a topologic element (vertex, edge, face or solid).
| GeometricElement::GeometricElement | ( | ) |
Default constructor.
| GeometricElement::GeometricElement | ( | const std::string & | name, |
| const std::string & | reference | ||
| ) |
Constructor with name and reference.
| name | the name of the element. |
| reference | the reference of the element. |
|
virtual |
Destructor.
|
inline |
Gets the name of the element.
|
inline |
Sets the name of the element.
| name | the name to set. |
| bool GeometricElement::hasName | ( | ) |
Checks if the element has a name.
|
inline |
Gets the reference of the element.
|
inline |
Sets the reference of the element.
| reference | the reference to set. |