A box and related functions. More...
#include <Box.hh>
Public Member Functions | |
| Box () | |
| Default constructor. | |
| Box (const Vector3 &_min, const Vector3 &_max) | |
| Constructor. | |
| Box (const Box &b) | |
| Copy Constructor. | |
| virtual | ~Box () |
| Destructor. | |
| double | GetXLength () const |
| Get the length along the x dimension. | |
| double | GetYLength () const |
| Get the length along the y dimension. | |
| double | GetZLength () const |
| Get the length along the z dimension. | |
| math::Vector3 | GetSize () const |
| Get the size of the box. | |
| math::Vector3 | GetCenter () const |
| Get the box center. | |
| void | Merge (const Box &_box) |
| Merge a box with this box. | |
| const Box & | operator= (const Box &_b) |
| Equal operator. | |
| Box | operator+ (const Box &_b) const |
| Addition operator. | |
| const Box & | operator+= (const Box &_b) |
| Addition set operator. | |
Public Attributes | |
| Vector3 | min |
| Minimum corner of the box. | |
| Vector3 | max |
| Maximum corner of the box. | |
Friends | |
| std::ostream & | operator<< (std::ostream &_out, const gazebo::math::Box &_b) |
| Output operator. | |
A box and related functions.
Constructor.
| _min | Minimum corner of the box |
| _max | Maximum corner of the box |
| math::Vector3 GetCenter | ( | ) | const |
Get the box center.
| math::Vector3 GetSize | ( | ) | const |
Get the size of the box.
| double GetXLength | ( | ) | const |
Get the length along the x dimension.
| double GetYLength | ( | ) | const |
Get the length along the y dimension.
| double GetZLength | ( | ) | const |
Get the length along the z dimension.
| std::ostream& operator<< | ( | std::ostream & | _out, |
| const gazebo::math::Box & | _b | ||
| ) | [friend] |
1.7.5.1