decShapeBox Class Reference

Analytic Box Shape. More...

#include <decShapeBox.h>

Inheritance diagram for decShapeBox:
decShape

List of all members.

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 decVectorGetHalfExtends () const
 Retrieves the half extends.
void SetHalfExtends (const decVector &halfExtends)
 Sets the half extends.
Visiting
virtual void Visit (decShapeVisitor *visitor)
 Visits the analytic shape.

Detailed Description

Analytic Box Shape.

Defines an analytic box shape. Box shapes are defined by a position, an orientation and the half length of their extends.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

decShapeBox::decShapeBox ( const decVector halfExtends )

Creates a new analytic box shape with the half extends.

decShapeBox::decShapeBox ( const decVector halfExtends,
const decVector position 
)

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file: