46 public:
Box(
const Box &_b);
49 public:
virtual ~
Box();
53 public:
double GetXLength()
const;
57 public:
double GetYLength()
const;
61 public:
double GetZLength()
const;
73 public:
void Merge(
const Box &_box);
78 public:
Box &operator =(
const Box &_b);
83 public:
Box operator+(
const Box &_b)
const;
88 public:
const Box &operator+=(
const Box &_b);
93 public:
bool operator==(
const Box &_b)
const;
107 _out <<
"Min[" << _b.
min <<
"] Max[" << _b.
max <<
"]";
119 private:
enum Extent {EXTENT_NULL, EXTENT_FINITE};
123 private: Extent extent;
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Mathematical representation of a box and related functions.
Definition: Box.hh:33
Vector3 min
Minimum corner of the box.
Definition: Box.hh:113
friend std::ostream & operator<<(std::ostream &_out, const gazebo::math::Box &_b)
Output operator.
Definition: Box.hh:104
Vector3 max
Maximum corner of the box.
Definition: Box.hh:116
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48