|
TM2IN
0.5.1
|
Vertex imply one coordinate in 3-D indoor space. More...
#include <Vertex.h>

Public Member Functions | |
| Vertex () | |
| Empty Vertex constructor. More... | |
| Vertex (double px, double py, double pz) | |
| Constructor with three double values. More... | |
| Vertex (Vertex &vt) | |
| Copy constructor. More... | |
| ~Vertex () | |
| Destructor. More... | |
| double | x () |
| Gets x value. More... | |
| double | y () |
| Gets y value. More... | |
| double | z () |
| Gets z value. More... | |
| void | setX (double value) |
| Sets x value. More... | |
| void | setY (double value) |
| Sets y value. More... | |
| void | setZ (double value) |
| Sets z value. More... | |
| void | setCoords (double x, double y, double z) |
| Sets coordinate with three float values. More... | |
| double | operator[] (int idx) |
| Operator [] to access each value. More... | |
| void | translate (double diff[]) |
| Translate coordinate values with difference. More... | |
| void | translateTo (std::vector< double > dest) |
| Move Vertex to destination. More... | |
| std::string | asJsonText () |
| Generates json string. More... | |
| Kernel::Point_3 | CGAL_point () |
| Converts to Kernel::Point_3. More... | |
Public Member Functions inherited from TM2IN::IndoorComponent | |
| IndoorComponent () | |
| double | getArea () |
| Returns area. More... | |
| void | setArea (double _area) |
| Sets area. More... | |
| MinimumBoundingBox * | getMBB () |
| Returns minimum bounding box. More... | |
| void | setMBB (MinimumBoundingBox *_mbb) |
| Sets minimum bounding box. More... | |
| virtual void | updateMBB () |
| Updates MinimumBoundingBox. More... | |
| virtual void | mergeMBB (IndoorComponent *gm) |
| Merges with the other IndoorComponent. More... | |
Public Attributes | |
| double | coords [3] |
Public Attributes inherited from TM2IN::IndoorComponent | |
| std::string | geom_id |
Friends | |
| std::ostream & | operator<< (std::ostream &ou, Vertex *pVertex) |
| Operator << : print string. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TM2IN::IndoorComponent | |
| MinimumBoundingBox * | mbb |
| TM2IN::IND_TYPE | type |
| double | area = 0.0 |
Vertex imply one coordinate in 3-D indoor space.
|
inline |
Empty Vertex constructor.
| TM2IN::Vertex::Vertex | ( | double | px, |
| double | py, | ||
| double | pz | ||
| ) |
Constructor with three double values.
| TM2IN::Vertex::Vertex | ( | Vertex & | vt | ) |
Copy constructor.
|
inline |
Destructor.
|
virtual |
Generates json string.
Reimplemented from TM2IN::IndoorComponent.
| Kernel::Point_3 TM2IN::Vertex::CGAL_point | ( | ) |
Converts to Kernel::Point_3.
|
inline |
Operator [] to access each value.
| void TM2IN::Vertex::setCoords | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Sets coordinate with three float values.
|
inline |
Sets x value.
|
inline |
Sets y value.
|
inline |
Sets z value.
| void TM2IN::Vertex::translate | ( | double | diff[] | ) |
Translate coordinate values with difference.
| void TM2IN::Vertex::translateTo | ( | std::vector< double > | dest | ) |
Move Vertex to destination.
|
inline |
Gets x value.
|
inline |
Gets y value.
|
inline |
Gets z value.
|
friend |
Operator << : print string.
| double TM2IN::Vertex::coords[3] |
1.8.11