OrientedBox.hh
Go to the documentation of this file.
OrientedBox(const Vector3< T > &_size, const Pose3< T > &_pose)
Constructor which takes size and pose.
Definition: OrientedBox.hh:48
OrientedBox & operator=(const OrientedBox< T > &_b)
Assignment operator. Set this box to the parameter.
Definition: OrientedBox.hh:131
const Pose3< T > & Pose() const
Get the box pose, which is the pose of its center.
Definition: OrientedBox.hh:107
bool Contains(const Vector3d &_p) const
Check if a point lies inside the box.
Definition: OrientedBox.hh:168
bool operator==(const OrientedBox< T > &_b) const
Equality test operator.
Definition: OrientedBox.hh:141
OrientedBox(const Vector3< T > &_size)
Constructor which takes only the size.
Definition: OrientedBox.hh:58
void Size(Vector3< T > &_size)
Set the box size.
Definition: OrientedBox.hh:115
Vector3 Abs() const
Get the absolute value of the vector.
Definition: Vector3.hh:223
OrientedBox(const OrientedBox< T > &_b)
Copy constructor.
Definition: OrientedBox.hh:67
T YLength() const
Get the length along the y dimension.
Definition: OrientedBox.hh:86
friend std::ostream & operator<<(std::ostream &_out, const OrientedBox< T > &_b)
Output operator.
Definition: OrientedBox.hh:158
void Pose(Pose3< T > &_pose)
Set the box pose.
Definition: OrientedBox.hh:123
The Vector3 class represents the generic vector containing 3 elements. Since it's commonly used to ke...
Definition: Vector3.hh:40
bool operator!=(const OrientedBox< T > &_b) const
Inequality test operator.
Definition: OrientedBox.hh:149
Mathematical representation of a box which can be arbitrarily positioned and rotated.
Definition: OrientedBox.hh:37
OrientedBox()
Default constructor.
Definition: OrientedBox.hh:40
Definition: Angle.hh:39
STL class.
const Vector3< T > & Size() const
Get the size of the box.
Definition: OrientedBox.hh:100
T ZLength() const
Get the length along the z dimension.
Definition: OrientedBox.hh:93
virtual ~OrientedBox()
Destructor.
Definition: OrientedBox.hh:73
T XLength() const
Get the length along the x dimension.
Definition: OrientedBox.hh:79