tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
grid.h File Reference
#include "types.h"
#include "vector.h"
Include dependency graph for grid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  grid
 

Macros

#define PGRID_ALLOC(x, y, z)   Pgrid_alloc(x, y, z)
 
#define PGRID_FREE(g)   Pgrid_free(g)
 
#define TMGRID_ADDPATH(g, p)   TMgrid_addPath(TM_ARG g, p)
 

Typedefs

typedef struct grid grid_t
 

Enumerations

enum  { GRID_POINT_FULL = -2L, GRID_POINT_EMPTY = -1L }
 

Functions

grid_tgrid_alloc (long width, long height, long depth)
 
grid_tPgrid_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)
 

Macro Definition Documentation

#define PGRID_ALLOC (   x,
  y,
 
)    Pgrid_alloc(x, y, z)
#define PGRID_FREE (   g)    Pgrid_free(g)
#define TMGRID_ADDPATH (   g,
  p 
)    TMgrid_addPath(TM_ARG g, p)

Typedef Documentation

typedef struct grid grid_t

Enumeration Type Documentation

anonymous enum
Enumerator
GRID_POINT_FULL 
GRID_POINT_EMPTY 

Function Documentation

void grid_addPath ( grid_t gridPtr,
vector_t pointVectorPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

grid_t* grid_alloc ( long  width,
long  height,
long  depth 
)

Here is the caller graph for this function:

void grid_copy ( grid_t dstGridPtr,
grid_t srcGridPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void grid_free ( grid_t gridPtr)

Here is the caller graph for this function:

long grid_getPoint ( grid_t gridPtr,
long  x,
long  y,
long  z 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void grid_getPointIndices ( grid_t gridPtr,
long *  gridPointPtr,
long *  xPtr,
long *  yPtr,
long *  zPtr 
)

Here is the caller graph for this function:

long* grid_getPointRef ( grid_t gridPtr,
long  x,
long  y,
long  z 
)

Here is the caller graph for this function:

bool_t grid_isPointEmpty ( grid_t gridPtr,
long  x,
long  y,
long  z 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool_t grid_isPointFull ( grid_t gridPtr,
long  x,
long  y,
long  z 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool_t grid_isPointValid ( grid_t gridPtr,
long  x,
long  y,
long  z 
)

Here is the caller graph for this function:

void grid_print ( grid_t gridPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

void grid_setPoint ( grid_t gridPtr,
long  x,
long  y,
long  z,
long  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

grid_t* Pgrid_alloc ( long  width,
long  height,
long  depth 
)
void Pgrid_free ( grid_t gridPtr)
TM_CALLABLE void TMgrid_addPath ( TM_ARGDECL grid_t gridPtr,
vector_t pointVectorPtr 
)

Here is the call graph for this function: