Analytic Box Shape. More...
#include <decShapeBox.h>
Public Member Functions | |
Constructors and Destructors | |
| decShapeBox (const decVector &halfExtends) | |
| Creates a new analytic box shape with the half extends. | |
| decShapeBox (const decVector &halfExtends, const decVector &position) | |
| Creates a new analytic box shape with the given half extends and position. | |
| decShapeBox (const decVector &halfExtends, const decVector &position, const decQuaternion &orientation) | |
| Creates a new analytic box shape with the given half extends position and orientation. | |
| virtual | ~decShapeBox () |
| Cleans up the analytic simple shape. | |
Management | |
| const decVector & | GetHalfExtends () const |
| Retrieves the half extends. | |
| void | SetHalfExtends (const decVector &halfExtends) |
| Sets the half extends. | |
Visiting | |
| virtual void | Visit (decShapeVisitor *visitor) |
| Visits the analytic shape. | |
Analytic Box Shape.
Defines an analytic box shape. Box shapes are defined by a position, an orientation and the half length of their extends.
| decShapeBox::decShapeBox | ( | const decVector & | halfExtends ) |
Creates a new analytic box shape with the half extends.
Creates a new analytic box shape with the given half extends and position.
| decShapeBox::decShapeBox | ( | const decVector & | halfExtends, |
| const decVector & | position, | ||
| const decQuaternion & | orientation | ||
| ) |
Creates a new analytic box shape with the given half extends position and orientation.
| virtual decShapeBox::~decShapeBox | ( | ) | [virtual] |
Cleans up the analytic simple shape.
| const decVector& decShapeBox::GetHalfExtends | ( | ) | const [inline] |
Retrieves the half extends.
| void decShapeBox::SetHalfExtends | ( | const decVector & | halfExtends ) |
Sets the half extends.
| virtual void decShapeBox::Visit | ( | decShapeVisitor * | visitor ) | [virtual] |
Visits the analytic shape.
Reimplemented from decShape.
1.7.2