#include "types.h"
#include "vector.h"
Go to the source code of this file.
|
grid_t * | grid_alloc (long width, long height, long depth) |
|
grid_t * | Pgrid_alloc (long width, long height, long depth) |
|
void | grid_free (grid_t *gridPtr) |
|
void | Pgrid_free (grid_t *gridPtr) |
|
void | grid_copy (grid_t *dstGridPtr, grid_t *srcGridPtr) |
|
bool_t | grid_isPointValid (grid_t *gridPtr, long x, long y, long z) |
|
long * | grid_getPointRef (grid_t *gridPtr, long x, long y, long z) |
|
void | grid_getPointIndices (grid_t *gridPtr, long *gridPointPtr, long *xPtr, long *yPtr, long *zPtr) |
|
long | grid_getPoint (grid_t *gridPtr, long x, long y, long z) |
|
bool_t | grid_isPointEmpty (grid_t *gridPtr, long x, long y, long z) |
|
bool_t | grid_isPointFull (grid_t *gridPtr, long x, long y, long z) |
|
void | grid_setPoint (grid_t *gridPtr, long x, long y, long z, long value) |
|
void | grid_addPath (grid_t *gridPtr, vector_t *pointVectorPtr) |
|
TM_CALLABLE void | TMgrid_addPath (TM_ARGDECL grid_t *gridPtr, vector_t *pointVectorPtr) |
|
void | grid_print (grid_t *gridPtr) |
|
Enumerator |
---|
GRID_POINT_FULL |
|
GRID_POINT_EMPTY |
|
grid_t* grid_alloc |
( |
long |
width, |
|
|
long |
height, |
|
|
long |
depth |
|
) |
| |
void grid_free |
( |
grid_t * |
gridPtr | ) |
|
long grid_getPoint |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z |
|
) |
| |
void grid_getPointIndices |
( |
grid_t * |
gridPtr, |
|
|
long * |
gridPointPtr, |
|
|
long * |
xPtr, |
|
|
long * |
yPtr, |
|
|
long * |
zPtr |
|
) |
| |
long* grid_getPointRef |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z |
|
) |
| |
bool_t grid_isPointEmpty |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z |
|
) |
| |
bool_t grid_isPointFull |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z |
|
) |
| |
bool_t grid_isPointValid |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z |
|
) |
| |
void grid_print |
( |
grid_t * |
gridPtr | ) |
|
void grid_setPoint |
( |
grid_t * |
gridPtr, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z, |
|
|
long |
value |
|
) |
| |
grid_t* Pgrid_alloc |
( |
long |
width, |
|
|
long |
height, |
|
|
long |
depth |
|
) |
| |
void Pgrid_free |
( |
grid_t * |
gridPtr | ) |
|