CrystalSpace

Public API Reference

CS::Collisions::iCollisionData Struct Reference

A structure used to return the collision data between two objects. More...

#include <ivaria/collisions.h>

Inheritance diagram for CS::Collisions::iCollisionData:

List of all members.

Public Member Functions

virtual iCollisionContactGetContact (size_t index)=0
 Get the contact at the given index.
virtual size_t GetContactCount () const =0
 Get the count of contacts between those two objects.
virtual iCollisionObjectGetObjectA () const =0
 Get the first collision object (A).
virtual iCollisionObjectGetObjectB () const =0
 Get the second collision object (B).

Detailed Description

A structure used to return the collision data between two objects.

When two objects are in contact, they have one or more CS::Collisions::iCollisionContact.

Definition at line 135 of file collisions.h.


Member Function Documentation

virtual iCollisionContact* CS::Collisions::iCollisionData::GetContact ( size_t  index  )  [pure virtual]

Get the contact at the given index.

virtual size_t CS::Collisions::iCollisionData::GetContactCount (  )  const [pure virtual]

Get the count of contacts between those two objects.

virtual iCollisionObject* CS::Collisions::iCollisionData::GetObjectA (  )  const [pure virtual]

Get the first collision object (A).

virtual iCollisionObject* CS::Collisions::iCollisionData::GetObjectB (  )  const [pure virtual]

Get the second collision object (B).


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

Generated for Crystal Space 2.1 by doxygen 1.6.1