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

Public Member Functions

bool operator== (const Cell &o) const
 Operator to compare two cells by index. More...
 

Public Attributes

int index
 Cell index.
 
double x = 0.0
 X coordinate of the cell (weighted average of all points)
 
double y = 0.0
 Y coordinate of the cell (weighted average of all points)
 
double z = 0.0
 Z coordinate of the cell (weighted average of all points)
 
double normal [3]
 Calculated normal vector of a cell.
 
int n = 0
 Number of points inside the cell.
 

Friends

size_t hash_value (const Cell &p)
 Hash Cell for usage inside of a hash map. More...
 

Member Function Documentation

bool Cell::operator== ( const Cell o) const
inline

Operator to compare two cells by index.

Parameters
oCell
Returns
True if cells are identical
False if cells indexes doesn't match

Friends And Related Function Documentation

size_t hash_value ( const Cell p)
friend

Hash Cell for usage inside of a hash map.

Parameters
pCell to hash
Returns
Hash

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