TM2IN  0.5.1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
TM2IN::IndoorComponent Class Reference

#include <IndoorComponent.h>

Inheritance diagram for TM2IN::IndoorComponent:
Inheritance graph
[legend]

Public Member Functions

 IndoorComponent ()
 
double getArea ()
 Returns area. More...
 
void setArea (double _area)
 Sets area. More...
 
MinimumBoundingBoxgetMBB ()
 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

MinimumBoundingBoxmbb
 
TM2IN::IND_TYPE type
 
double area = 0.0
 

Constructor & Destructor Documentation

TM2IN::IndoorComponent::IndoorComponent ( )

Member Function Documentation

std::string TM2IN::IndoorComponent::asJsonText ( )
virtual
double TM2IN::IndoorComponent::getArea ( )
inline

Returns area.

MinimumBoundingBox * TM2IN::IndoorComponent::getMBB ( )

Returns minimum bounding box.

void TM2IN::IndoorComponent::mergeMBB ( IndoorComponent gm)
virtual

Merges with the other IndoorComponent.

void TM2IN::IndoorComponent::setArea ( double  _area)
inline

Sets area.

void TM2IN::IndoorComponent::setMBB ( MinimumBoundingBox _mbb)

Sets minimum bounding box.

void TM2IN::IndoorComponent::updateMBB ( )
virtual

Member Data Documentation

double TM2IN::IndoorComponent::area = 0.0
protected
std::string TM2IN::IndoorComponent::geom_id
MinimumBoundingBox* TM2IN::IndoorComponent::mbb
protected
TM2IN::IND_TYPE TM2IN::IndoorComponent::type
protected

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