TM2IN
0.5.1
|
#include <IndoorComponent.h>
Public Member Functions | |
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... | |
virtual std::string | asJsonText () |
Generates json string. More... | |
Public Attributes | |
std::string | geom_id |
Protected Attributes | |
MinimumBoundingBox * | mbb |
TM2IN::IND_TYPE | type |
double | area = 0.0 |
TM2IN::IndoorComponent::IndoorComponent | ( | ) |
|
virtual |
Generates json string.
Reimplemented in TM2IN::Wall::Surface, TM2IN::Vertex, TM2IN::HalfEdge, TM2IN::RoomBoundary::TriangulatedSurfaceMesh, TM2IN::RoomBoundary::TriangleMesh, and TM2IN::RoomBoundary::PolygonMesh.
|
inline |
Returns area.
MinimumBoundingBox * TM2IN::IndoorComponent::getMBB | ( | ) |
Returns minimum bounding box.
|
virtual |
Merges with the other IndoorComponent.
|
inline |
Sets area.
void TM2IN::IndoorComponent::setMBB | ( | MinimumBoundingBox * | _mbb | ) |
Sets minimum bounding box.
|
virtual |
Updates MinimumBoundingBox.
Reimplemented in TM2IN::Wall::Surface, TM2IN::RoomBoundary::TriangulatedSurfaceMesh, TM2IN::RoomBoundary::TriangleMesh, and TM2IN::RoomBoundary::PolygonMesh.
|
protected |
std::string TM2IN::IndoorComponent::geom_id |
|
protected |
|
protected |