3D Forest
Software for analysis of Lidar data from forest environment.
Points Class Reference

#include <Points.hpp>

Public Member Functions

 Points ()
 
 ~Points ()
 
bool empty () const
 
size_t size () const
 
Pointoperator[] (size_t pos)
 
const Pointoperator[] (size_t pos) const
 
Pointat (size_t pos)
 
const Pointat (size_t pos) const
 
void push_back (const Point &point)
 
void push_back (Point &&point)
 
void clear ()
 
void createIndex ()
 
void findRadius (double x, double y, double z, double r, std::vector< size_t > &resultIndices)
 
size_t findNN (double x, double y, double z)
 

Private Attributes

VectorFile< Point, Point::IOpoints_
 
unibn::Octree< Point, VectorFile< Point, Point::IO > > octree_
 

Constructor & Destructor Documentation

◆ Points()

Points::Points ( )

◆ ~Points()

Points::~Points ( )

Member Function Documentation

◆ at() [1/2]

Point & Points::at ( size_t  pos)
inline

◆ at() [2/2]

const Point & Points::at ( size_t  pos) const
inline

◆ clear()

◆ createIndex()

◆ empty()

bool Points::empty ( ) const
inline

◆ findNN()

size_t Points::findNN ( double  x,
double  y,
double  z 
)

◆ findRadius()

void Points::findRadius ( double  x,
double  y,
double  z,
double  r,
std::vector< size_t > &  resultIndices 
)

◆ operator[]() [1/2]

Point & Points::operator[] ( size_t  pos)
inline

◆ operator[]() [2/2]

const Point & Points::operator[] ( size_t  pos) const
inline

◆ push_back() [1/2]

◆ push_back() [2/2]

void Points::push_back ( Point &&  point)

◆ size()

Member Data Documentation

◆ octree_

unibn::Octree<Point, VectorFile<Point, Point::IO> > Points::octree_
private

Referenced by createIndex(), findNN(), and findRadius().

◆ points_

VectorFile<Point, Point::IO> Points::points_
private

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