Planeshift
Classes | Public Member Functions

dtProximityGrid Class Reference

#include <DetourProximityGrid.h>

List of all members.

Classes

struct  Item

Public Member Functions

void addItem (const unsigned short id, const float minx, const float miny, const float maxx, const float maxy)
void clear ()
 dtProximityGrid ()
const intgetBounds () const
const float getCellSize () const
int getItemCountAt (const int x, const int y) const
bool init (const int maxItems, const float cellSize)
int queryItems (const float minx, const float miny, const float maxx, const float maxy, unsigned short *ids, const int maxIds) const
 ~dtProximityGrid ()

Detailed Description

Definition at line 22 of file DetourProximityGrid.h.


Constructor & Destructor Documentation

dtProximityGrid::dtProximityGrid ( )
dtProximityGrid::~dtProximityGrid ( )

Member Function Documentation

void dtProximityGrid::addItem ( const unsigned short  id,
const float  minx,
const float  miny,
const float  maxx,
const float  maxy 
)
void dtProximityGrid::clear ( )
const int* dtProximityGrid::getBounds ( ) const [inline]

Definition at line 61 of file DetourProximityGrid.h.

const float dtProximityGrid::getCellSize ( ) const [inline]

Definition at line 62 of file DetourProximityGrid.h.

int dtProximityGrid::getItemCountAt ( const int  x,
const int  y 
) const
bool dtProximityGrid::init ( const int  maxItems,
const float  cellSize 
)
int dtProximityGrid::queryItems ( const float  minx,
const float  miny,
const float  maxx,
const float  maxy,
unsigned short *  ids,
const int  maxIds 
) const

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