99 grid_alloc (
long width,
long height,
long depth);
156 long* gridPointPtr,
long* xPtr,
long* yPtr,
long* zPtr);
216 #define PGRID_ALLOC(x, y, z) Pgrid_alloc(x, y, z)
217 #define PGRID_FREE(g) Pgrid_free(g)
219 #define TMGRID_ADDPATH(g, p) TMgrid_addPath(TM_ARG g, p)
void grid_free(grid_t *gridPtr)
Definition: grid.c:147
#define TM_CALLABLE
Definition: cxxtm.hpp:32
grid_t * Pgrid_alloc(long width, long height, long depth)
Definition: grid.c:119
bool_t grid_isPointFull(grid_t *gridPtr, long x, long y, long z)
Definition: grid.c:267
bool_t grid_isPointValid(grid_t *gridPtr, long x, long y, long z)
Definition: grid.c:196
bool_t grid_isPointEmpty(grid_t *gridPtr, long x, long y, long z)
Definition: grid.c:255
long width
Definition: grid.h:81
long * points
Definition: grid.h:84
int bool_t
Definition: portable_defns.h:32
#define TM_ARGDECL
Definition: tm.h:532
void grid_copy(grid_t *dstGridPtr, grid_t *srcGridPtr)
Definition: grid.c:171
void grid_setPoint(grid_t *gridPtr, long x, long y, long z, long value)
Definition: grid.c:279
void Pgrid_free(grid_t *gridPtr)
Definition: grid.c:159
grid_t * grid_alloc(long width, long height, long depth)
Definition: grid.c:91
void grid_addPath(grid_t *gridPtr, vector_t *pointVectorPtr)
Definition: grid.c:290
long grid_getPoint(grid_t *gridPtr, long x, long y, long z)
Definition: grid.c:244
void grid_print(grid_t *gridPtr)
Definition: grid.c:331
TM_CALLABLE void TMgrid_addPath(TM_ARGDECL grid_t *gridPtr, vector_t *pointVectorPtr)
Definition: grid.c:310
long * points_unaligned
Definition: grid.h:85
long * grid_getPointRef(grid_t *gridPtr, long x, long y, long z)
Definition: grid.c:214
long depth
Definition: grid.h:83
long height
Definition: grid.h:82
void grid_getPointIndices(grid_t *gridPtr, long *gridPointPtr, long *xPtr, long *yPtr, long *zPtr)
Definition: grid.c:225