cheshirekow  v0.1.0
mpblocks::kd_tree::r2_s1::HyperRect< Traits > Struct Template Reference

an NDim dimensional hyperrectangle, represented as a min and max extent More...

#include <mpblocks/kd_tree/r2_s1/HyperRect.h>

Public Types

typedef Traits::Format_t Format_t
 
typedef Vector_t Point_t
 
typedef Eigen::Matrix
< Format_t, Traits::NDim, 1 > 
Vector_t
 

Public Member Functions

 HyperRect ()
 initializes bounds to 0,0,... More...
 
Format_t measure ()
 return the measure of the hypercube More...
 

Public Attributes

Point_t maxExt
 maximum extent of hyper-rectangle More...
 
Point_t minExt
 minimum extent of hyper-rectangle More...
 

Detailed Description

template<class Traits>
struct mpblocks::kd_tree::r2_s1::HyperRect< Traits >

an NDim dimensional hyperrectangle, represented as a min and max extent

implemented by storing the minimum and maximum extent of the hyper-rectangle in all dimensions

Definition at line 23 of file HyperRect.h.

Member Typedef Documentation

Definition at line 25 of file HyperRect.h.

template<class Traits >
typedef Vector_t mpblocks::kd_tree::r2_s1::HyperRect< Traits >::Point_t

Definition at line 27 of file HyperRect.h.

template<class Traits >
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::r2_s1::HyperRect< Traits >::Vector_t

Definition at line 26 of file HyperRect.h.

Constructor & Destructor Documentation

template<class Traits >
mpblocks::kd_tree::r2_s1::HyperRect< Traits >::HyperRect ( )

initializes bounds to 0,0,...

Definition at line 20 of file HyperRect.hpp.

Member Function Documentation

template<class Traits >
Traits::Format_t mpblocks::kd_tree::r2_s1::HyperRect< Traits >::measure ( )

return the measure of the hypercube

Definition at line 33 of file HyperRect.hpp.

Member Data Documentation

template<class Traits >
Point_t mpblocks::kd_tree::r2_s1::HyperRect< Traits >::maxExt

maximum extent of hyper-rectangle

Definition at line 30 of file HyperRect.h.

template<class Traits >
Point_t mpblocks::kd_tree::r2_s1::HyperRect< Traits >::minExt

minimum extent of hyper-rectangle

Definition at line 29 of file HyperRect.h.


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