Atoms Crowd  4.1.0
AtomsUtils::dtQueryResult Struct Reference

Public Member Functions

void reserve (int n)
 
int size () const
 
dtPolyRef getRef (int idx) const
 
float getCost (int idx) const
 
const float * getPos (int idx) const
 
unsigned int getFlag (int idx) const
 
void getPos (int idx, float *pos)
 
void copyRefs (dtPolyRef *refs, int nmax)
 
void copyCosts (float *costs, int nmax)
 
void copyPos (float *pos, int nmax)
 
void copyFlags (unsigned char *flags, int nmax)
 
void copyFlags (unsigned int *flags, int nmax)
 

Protected Member Functions

int addItem (dtPolyRef ref, float cost, const float *pos, unsigned int flag)
 
void setRef (int idx, dtPolyRef ref)
 
void setCost (int idx, float cost)
 
void setFlag (int idx, unsigned int flag)
 
void setPos (int idx, const float *pos)
 

Protected Attributes

dtChunkArray< dtQueryResultPackdata
 

Friends

class dtNavMeshQuery
 

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