Planeshift
Public Member Functions

dtObstacleAvoidanceQuery Class Reference

#include <DetourObstacleAvoidance.h>

List of all members.

Public Member Functions

void addCircle (const float *pos, const float rad, const float *vel, const float *dvel)
void addSegment (const float *p, const float *q)
 dtObstacleAvoidanceQuery ()
const dtObstacleCirclegetObstacleCircle (const int i)
int getObstacleCircleCount () const
const dtObstacleSegmentgetObstacleSegment (const int i)
int getObstacleSegmentCount () const
bool init (const int maxCircles, const int maxSegments)
void reset ()
int sampleVelocityAdaptive (const float *pos, const float rad, const float vmax, const float *vel, const float *dvel, float *nvel, const dtObstacleAvoidanceParams *params, dtObstacleAvoidanceDebugData *debug=0)
int sampleVelocityGrid (const float *pos, const float rad, const float vmax, const float *vel, const float *dvel, float *nvel, const dtObstacleAvoidanceParams *params, dtObstacleAvoidanceDebugData *debug=0)
 ~dtObstacleAvoidanceQuery ()

Detailed Description

Definition at line 93 of file DetourObstacleAvoidance.h.


Constructor & Destructor Documentation

dtObstacleAvoidanceQuery::dtObstacleAvoidanceQuery ( )
dtObstacleAvoidanceQuery::~dtObstacleAvoidanceQuery ( )

Member Function Documentation

void dtObstacleAvoidanceQuery::addCircle ( const float pos,
const float  rad,
const float vel,
const float dvel 
)
void dtObstacleAvoidanceQuery::addSegment ( const float p,
const float q 
)
const dtObstacleCircle* dtObstacleAvoidanceQuery::getObstacleCircle ( const int  i) [inline]

Definition at line 119 of file DetourObstacleAvoidance.h.

int dtObstacleAvoidanceQuery::getObstacleCircleCount ( ) const [inline]

Definition at line 118 of file DetourObstacleAvoidance.h.

const dtObstacleSegment* dtObstacleAvoidanceQuery::getObstacleSegment ( const int  i) [inline]

Definition at line 122 of file DetourObstacleAvoidance.h.

int dtObstacleAvoidanceQuery::getObstacleSegmentCount ( ) const [inline]

Definition at line 121 of file DetourObstacleAvoidance.h.

bool dtObstacleAvoidanceQuery::init ( const int  maxCircles,
const int  maxSegments 
)
void dtObstacleAvoidanceQuery::reset ( )
int dtObstacleAvoidanceQuery::sampleVelocityAdaptive ( const float pos,
const float  rad,
const float  vmax,
const float vel,
const float dvel,
float nvel,
const dtObstacleAvoidanceParams params,
dtObstacleAvoidanceDebugData debug = 0 
)
int dtObstacleAvoidanceQuery::sampleVelocityGrid ( const float pos,
const float  rad,
const float  vmax,
const float vel,
const float dvel,
float nvel,
const dtObstacleAvoidanceParams params,
dtObstacleAvoidanceDebugData debug = 0 
)

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