17 #ifndef _GAZEBO_BOX_HH_ 18 #define _GAZEBO_BOX_HH_ 21 #include <ignition/math/Box.hh> 35 class GZ_MATH_VISIBLE
Box 49 public:
Box(
const ignition::math::Box &_box);
53 public:
Box(
const Box &_b);
56 public:
virtual ~
Box();
60 public:
double GetXLength()
const;
64 public:
double GetYLength()
const;
68 public:
double GetZLength()
const;
80 public:
void Merge(
const Box &_box);
84 public: ignition::math::Box Ign()
const;
89 public:
Box &operator=(
const ignition::math::Box &_b);
94 public:
Box &operator =(
const Box &_b);
99 public:
Box operator+(
const Box &_b)
const;
104 public:
const Box &operator+=(
const Box &_b);
109 public:
bool operator==(
const Box &_b)
const;
128 _out <<
"Min[" << _b.
min <<
"] Max[" << _b.
max <<
"]";
140 private:
enum Extent {EXTENT_NULL, EXTENT_FINITE};
144 private: Extent extent;
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
Mathematical representation of a box and related functions.
Definition: Box.hh:35
friend std::ostream & operator<<(std::ostream &_out, const gazebo::math::Box &_b)
Output operator.
Definition: Box.hh:125
Vector3 min
Minimum corner of the box.
Definition: Box.hh:134
Vector3 max
Maximum corner of the box.
Definition: Box.hh:137