CEL

Public API Reference

iCelPositionInfo Struct Reference

If a property class represents a position in the world then it will also implement this interface. More...

#include <physicallayer/propclas.h>

Inheritance diagram for iCelPositionInfo:

List of all members.

Public Member Functions

virtual float GetBoundingRadius ()=0
 Get a bounding radius for this entity.
virtual iMovableGetMovable ()=0
 If the position of this entity is represented with a movable then you can get it with this function.
virtual const csVector3 GetPosition ()=0
 Get the world space position of this object.
virtual iSectorGetSector ()=0
 Get the main sector of this object (if an object spans multiple sectors then you have to get the iMovable information).

Detailed Description

If a property class represents a position in the world then it will also implement this interface.

Definition at line 47 of file propclas.h.


Member Function Documentation

virtual float iCelPositionInfo::GetBoundingRadius (  )  [pure virtual]

Get a bounding radius for this entity.

virtual iMovable* iCelPositionInfo::GetMovable (  )  [pure virtual]

If the position of this entity is represented with a movable then you can get it with this function.

This can return 0 if the entity doesn't support movables.

virtual const csVector3 iCelPositionInfo::GetPosition (  )  [pure virtual]

Get the world space position of this object.

virtual iSector* iCelPositionInfo::GetSector (  )  [pure virtual]

Get the main sector of this object (if an object spans multiple sectors then you have to get the iMovable information).


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

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1