Class xlifepp::Box#

template<typename T>
class Box#

Collaboration diagram for xlifepp::Box:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::Box< T >" tooltip="xlifepp::Box< T >" fillcolor="#BFBFBF"] }

utility class for printing KdTree

Public Functions

inline Box(const T &x1, const T &x2)#

constructor from 1D coordinates

inline Box(const T &x1, const T &x2, const T &y1, const T &y2)#

constructor from 2D coordinates

inline Box(const T &x1, const T &x2, const T &y1, const T &y2, const T &z1, const T &z2)#

constructor from 3D coordinates

inline void print(std::ostream &os) const#

print utility

Public Members

std::vector<T> vmax#

second vertex (mazximum values of coordinates) default constructor

std::vector<T> vmin#

first vertex (minimum values of coordinates)