Go to the documentation of this file.
   69         for (
size_t i = 0; i < 
count; i++)
 
   87         for(
size_t i = 0; i < 
count; i++)
 
  103     size_t count() 
const;
 
  109         for (
int axis = 0; axis < 3; axis++)
 
  111             double val = point[axis];
 
  112             if (val < 
m_min[axis])
 
  116             if (val > 
m_max[axis])
 
  134 #include "lvr2/registration/AABB.tcc" 
  
const Vector3< T > & min() const
Returns the "lower left" Corner of the Bounding Box, as in the smallest x, y, z of the Point Cloud.
T difference(int axis) const
Calculates the size of the Bounding Box along a certain axis.
AABB(P &points, size_t count)
Construct a new AABB object.
A struct to calculate the Axis Aligned Bounding Box and Average Point of a Point Cloud.
int longestAxis() const
Calculates the axis that has the largest size of the Bounding Box.
void addPoint(const P &point)
adds a Point to the Point Cloud
Eigen::Matrix< T, 3, 1 > Vector3
Eigen 3D vector.
const Vector3< T > & max() const
Returns the "upper right" Corner of the Bounding Box, as in the largest x, y, z of the Point Cloud.
Vector3< T > avg() const
Returns the average of all the Points in the Point Cloud.
AABB(P *points, size_t count)
Construct a new AABB object.
size_t count() const
Returns the number of Points in the Point Cloud.
lvr2
Author(s): Thomas Wiemann 
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr 
autogenerated on Wed Mar 2 2022 00:37:22