#include <DetourObstacleAvoidance.h>
|
| NAVMESH_API | dtObstacleAvoidanceQuery () |
| |
| NAVMESH_API | ~dtObstacleAvoidanceQuery () |
| |
| NAVMESH_API bool | init (const int maxCircles, const int maxSegments, const int maxCustomPatterns) |
| |
| NAVMESH_API void | reset () |
| |
| NAVMESH_API void | addCircle (const dtReal *pos, const dtReal rad, const dtReal *vel, const dtReal *dvel) |
| |
| NAVMESH_API void | addSegment (const dtReal *p, const dtReal *q, int flags=0) |
| |
| NAVMESH_API bool | setCustomSamplingPattern (int idx, const dtReal *angles, const dtReal *radii, int nsamples) |
| |
| NAVMESH_API bool | getCustomSamplingPattern (int idx, dtReal *angles, dtReal *radii, int *nsamples) |
| |
| NAVMESH_API int | sampleVelocityCustom (const dtReal *pos, const dtReal rad, const dtReal vmax, const dtReal vmult, const dtReal *vel, const dtReal *dvel, dtReal *nvel, const dtObstacleAvoidanceParams *params, dtObstacleAvoidanceDebugData *debug=0) |
| |
| NAVMESH_API int | sampleVelocityAdaptive (const dtReal *pos, const dtReal rad, const dtReal vmax, const dtReal vmult, const dtReal *vel, const dtReal *dvel, dtReal *nvel, const dtObstacleAvoidanceParams *params, dtObstacleAvoidanceDebugData *debug=0) |
| |
| int | sampleVelocity (const dtReal *pos, const dtReal rad, const dtReal vmax, const dtReal vmult, const dtReal *vel, const dtReal *dvel, dtReal *nvel, const dtObstacleAvoidanceParams *params, dtObstacleAvoidanceDebugData *debug=0) |
| |
| int | getObstacleCircleCount () const |
| |
| const dtObstacleCircle * | getObstacleCircle (const int i) |
| |
| int | getObstacleSegmentCount () const |
| |
| const dtObstacleSegment * | getObstacleSegment (const int i) |
| |
| int | getCustomPatternCount () const |
| |
◆ dtObstacleAvoidanceQuery()
| dtObstacleAvoidanceQuery::dtObstacleAvoidanceQuery |
( |
| ) |
|
◆ ~dtObstacleAvoidanceQuery()
| dtObstacleAvoidanceQuery::~dtObstacleAvoidanceQuery |
( |
| ) |
|
◆ addCircle()
◆ addSegment()
| void dtObstacleAvoidanceQuery::addSegment |
( |
const dtReal * |
p, |
|
|
const dtReal * |
q, |
|
|
int |
flags = 0 |
|
) |
| |
◆ getCustomPatternCount()
| int dtObstacleAvoidanceQuery::getCustomPatternCount |
( |
| ) |
const |
|
inline |
◆ getCustomSamplingPattern()
| bool dtObstacleAvoidanceQuery::getCustomSamplingPattern |
( |
int |
idx, |
|
|
dtReal * |
angles, |
|
|
dtReal * |
radii, |
|
|
int * |
nsamples |
|
) |
| |
◆ getObstacleCircle()
| const dtObstacleCircle * dtObstacleAvoidanceQuery::getObstacleCircle |
( |
const int |
i | ) |
|
|
inline |
◆ getObstacleCircleCount()
| int dtObstacleAvoidanceQuery::getObstacleCircleCount |
( |
| ) |
const |
|
inline |
◆ getObstacleSegment()
| const dtObstacleSegment * dtObstacleAvoidanceQuery::getObstacleSegment |
( |
const int |
i | ) |
|
|
inline |
◆ getObstacleSegmentCount()
| int dtObstacleAvoidanceQuery::getObstacleSegmentCount |
( |
| ) |
const |
|
inline |
◆ init()
| bool dtObstacleAvoidanceQuery::init |
( |
const int |
maxCircles, |
|
|
const int |
maxSegments, |
|
|
const int |
maxCustomPatterns |
|
) |
| |
◆ reset()
| void dtObstacleAvoidanceQuery::reset |
( |
| ) |
|
◆ sampleVelocity()
◆ sampleVelocityAdaptive()
◆ sampleVelocityCustom()
◆ setCustomSamplingPattern()
| bool dtObstacleAvoidanceQuery::setCustomSamplingPattern |
( |
int |
idx, |
|
|
const dtReal * |
angles, |
|
|
const dtReal * |
radii, |
|
|
int |
nsamples |
|
) |
| |
The documentation for this class was generated from the following files: