PointCloud2BIM Library  1.0
Library to facilitate the transpormation of point clouds into digital BIM representation
Public Member Functions | Public Attributes | List of all members
BoundingBoxInfo Struct Reference

Public Member Functions

double range (int index)
 Calculates range of the coordinate given by index. More...
 
void giveBoundingBoxMin (double(&min)[3])
 Returns minimum coordinates of the BoundingBoxInfo object. More...
 
void giveBoundingBoxMax (double(&max)[3])
 Returns maximum coordinates of the BoundingBoxInfo object. More...
 
 BoundingBoxInfo ()
 Construct a new BoundingBoxInfo object with infinities as bounds.
 

Public Attributes

double min [3]
 Minimum coordinates [x, y, z] of the bounding box.
 
double max [3]
 Maximum coordinates [x, y, z] of the bounding box.
 

Member Function Documentation

void BoundingBoxInfo::giveBoundingBoxMax ( double(&)  max[3])
inline

Returns maximum coordinates of the BoundingBoxInfo object.

Parameters
maxMaximum coordinates [x, y, z]
void BoundingBoxInfo::giveBoundingBoxMin ( double(&)  min[3])
inline

Returns minimum coordinates of the BoundingBoxInfo object.

Parameters
minMinimum coordinates [x, y, z]
double BoundingBoxInfo::range ( int  index)
inline

Calculates range of the coordinate given by index.

Parameters
indexSpecifies for which component (0-x, 1-y, 2-z) to calculate the range
Returns
Max coordinate - min coordinate

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