bl7::rigidbodies2::CollisionSpace Class Reference
#include <CollisionSpace.h>
List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
| bl7::rigidbodies2::CollisionSpace::CollisionSpace |
( |
void |
|
) |
|
Default constructor creating an "empty" collision space with the option of covering other collision spaces, that are added later.
| bl7::rigidbodies2::CollisionSpace::~CollisionSpace |
( |
void |
|
) |
|
Explicit constructor creating a collision space covering a collision plane.
Explicit constructor creating a collision space covering a collision poly.
Explicit constructor creating a collision space covering a collision sphere.
Explicit constructor creating a collision space covering a collision box.
| bl7::rigidbodies2::CollisionSpace::CollisionSpace |
( |
const CollisionSpace & |
rhs |
) |
|
Member Function Documentation
Returns the collision box (if this collision space holds one).
Returns the collision box (if this collision space holds one).
Returns the collision plane (if this collision space holds one).
Returns the collision plane (if this collision space holds one).
Returns the collision poly (if this collision space holds one).
Returns the collision poly (if this collision space holds one).
Returns the collision sphere (if this collision space holds one).
Returns the collision sphere (if this collision space holds one).
| SubSpaces* bl7::rigidbodies2::CollisionSpace::get_sub_spaces |
( |
|
) |
[inline] |
Returns the list of sub-spaces.
| const SubSpaces* bl7::rigidbodies2::CollisionSpace::get_sub_spaces |
( |
|
) |
const [inline] |
Returns the list of sub-spaces.
| unsigned int bl7::rigidbodies2::CollisionSpace::get_type |
( |
|
) |
const [inline] |
Returns the type of this collision space specifying the concrete collision geometry class (plane, poly, sphere, box) by ID or 0 if this collision space covers further subordinated collision spaces.
| bool bl7::rigidbodies2::CollisionSpace::holds_box |
( |
|
) |
const [inline] |
Checks whether this collision space covers a collision box.
| bool bl7::rigidbodies2::CollisionSpace::holds_plane |
( |
|
) |
const [inline] |
Checks whether this collision space covers a collision plane.
| bool bl7::rigidbodies2::CollisionSpace::holds_poly |
( |
|
) |
const [inline] |
Checks whether this collision space covers a collision poly.
| bool bl7::rigidbodies2::CollisionSpace::holds_sphere |
( |
|
) |
const [inline] |
Checks whether this collision space covers a collision sphere.
Creates a collision space covering a collision box.
Creates a collision space covering a collision sphere.
Creates a collision space covering a collision poly.
Creates a collision space covering a collision plane.
| void bl7::rigidbodies2::CollisionSpace::init |
( |
|
) |
|
Creates an "empty" collision space with the option of covering other collision spaces, that are added later.
| bool bl7::rigidbodies2::CollisionSpace::is_super_space |
( |
|
) |
const [inline] |
Checks whether this collision space covers other sub spaces rather than holding the soecific geometry itself.
Copy assignment operator.
Member Data Documentation
The documentation for this class was generated from the following files: