3D Forest
Software for analysis of Lidar data from forest environment.
Sphere< T > Class Template Reference

#include <Sphere.hpp>

Public Member Functions

 Sphere ()
 
 ~Sphere ()
 
template<class B >
 Sphere (B x, B y, B z, B radius)
 
void set (T x, T y, T z, T radius)
 
void clear ()
 
bool empty () const
 
const Box< T > & box () const
 
bool contains (T x, T y, T z) const
 

Protected Member Functions

void validate ()
 

Protected Attributes

x_
 
y_
 
z_
 
radius_
 
Box< T > box_
 

Constructor & Destructor Documentation

◆ Sphere() [1/2]

template<class T >
Sphere< T >::Sphere ( )
inline

◆ ~Sphere()

template<class T >
Sphere< T >::~Sphere ( )
inline

◆ Sphere() [2/2]

template<class T >
template<class B >
Sphere< T >::Sphere ( B x,
B y,
B z,
B radius )
inline

Member Function Documentation

◆ box()

template<class T >
const Box< T > & Sphere< T >::box ( ) const
inline

◆ clear()

template<class T >
void Sphere< T >::clear ( )
inline

◆ contains()

template<class T >
bool Sphere< T >::contains ( T x,
T y,
T z ) const
inline

Referenced by Page::queryWhereSphere().

◆ empty()

template<class T >
bool Sphere< T >::empty ( ) const
inline

Referenced by Page::queryWhereSphere().

◆ set()

template<class T >
void Sphere< T >::set ( T x,
T y,
T z,
T radius )
inline

Referenced by QueryWhere::setSphere().

◆ validate()

template<class T >
void Sphere< T >::validate ( )
inlineprotected

Member Data Documentation

◆ box_

template<class T >
Box<T> Sphere< T >::box_
protected

◆ radius_

template<class T >
T Sphere< T >::radius_
protected

◆ x_

template<class T >
T Sphere< T >::x_
protected

◆ y_

template<class T >
T Sphere< T >::y_
protected

◆ z_

template<class T >
T Sphere< T >::z_
protected

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