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

Go to the source code of this file.

Macros

#define PELEMENT_ALLOC(c, n)   Pelement_alloc(c, n)
 
#define PELEMENT_FREE(e)   /*Pelement_free(e)*/
 
#define TMELEMENT_ALLOC(c, n)   TMelement_alloc(TM_ARG c, n)
 
#define TMELEMENT_FREE(e)   /*TMelement_free(TM_ARG e)*/
 
#define TMELEMENT_ISREFERENCED(e)   TMelement_isReferenced(TM_ARG e)
 
#define TMELEMENT_SETISREFERENCED(e, s)   TMelement_setIsReferenced(TM_ARG e, s)
 
#define TMELEMENT_ISGARBAGE(e)   TMelement_isGarbage(TM_ARG e)
 
#define TMELEMENT_SETISGARBAGE(e, s)   TMelement_setIsGarbage(TM_ARG e, s)
 
#define TMELEMENT_ADDNEIGHBOR(e, n)   TMelement_addNeighbor(TM_ARG e, n)
 
#define TMELEMENT_GETNEIGHBORLIST(e)   TMelement_getNeighborListPtr(TM_ARG e)
 

Typedefs

typedef pair_t edge_t
 
typedef struct element element_t
 

Functions

long element_compare (element_t *aElementPtr, element_t *bElementPtr)
 
long TMelement_compare (TM_ARGDECL element_t *aElementPtr, element_t *bElementPtr)
 
long element_listCompare (const void *aPtr, const void *bPtr)
 
long TMelement_listCompare (TM_ARGDECL const void *aPtr, const void *bPtr)
 
long element_mapCompare (const pair_t *aPtr, const pair_t *bPtr)
 
element_telement_alloc (coordinate_t *coordinates, long numCoordinate)
 
element_tPelement_alloc (coordinate_t *coordinates, long numCoordinate)
 
element_tTMelement_alloc (TM_ARGDECL coordinate_t *coordinates, long numCoordinate)
 
void element_free (element_t *elementPtr)
 
void Pelement_free (element_t *elementPtr)
 
void TMelement_free (TM_ARGDECL element_t *elementPtr)
 
long element_getNumEdge (element_t *elementPtr)
 
edge_telement_getEdge (element_t *elementPtr, long i)
 
long element_listCompareEdge (const void *aPtr, const void *bPtr)
 
long TMelement_listCompareEdge (TM_ARGDECL const void *aPtr, const void *bPtr)
 
long element_mapCompareEdge (const pair_t *aPtr, const pair_t *bPtr)
 
long element_heapCompare (const void *aPtr, const void *bPtr)
 
long TMelement_heapCompare (TM_ARGDECL const void *aPtr, const void *bPtr)
 
bool_t element_isInCircumCircle (element_t *elementPtr, coordinate_t *coordinatePtr)
 
void element_clearEncroached (element_t *elementPtr)
 
edge_telement_getEncroachedPtr (element_t *elementPtr)
 
bool_t element_isSkinny (element_t *elementPtr)
 
bool_t element_isBad (element_t *elementPtr)
 
bool_t element_isReferenced (element_t *elementPtr)
 
TM_CALLABLE bool_t TMelement_isReferenced (TM_ARGDECL element_t *elementPtr)
 
void element_setIsReferenced (element_t *elementPtr, bool_t status)
 
TM_CALLABLE void TMelement_setIsReferenced (TM_ARGDECL element_t *elementPtr, bool_t status)
 
bool_t element_isGarbage (element_t *elementPtr)
 
TM_CALLABLE bool_t TMelement_isGarbage (TM_ARGDECL element_t *elementPtr)
 
void element_setIsGarbage (element_t *elementPtr, bool_t status)
 
TM_CALLABLE void TMelement_setIsGarbage (TM_ARGDECL element_t *elementPtr, bool_t status)
 
void element_addNeighbor (element_t *elementPtr, element_t *neighborPtr)
 
void TMelement_addNeighbor (TM_ARGDECL element_t *elementPtr, element_t *neighborPtr)
 
list_telement_getNeighborListPtr (element_t *elementPtr)
 
list_tTMelement_getNeighborListPtr (TM_ARGDECL element_t *elementPtr)
 
edge_telement_getCommonEdge (element_t *aElementPtr, element_t *bElementPtr)
 
edge_tTMelement_getCommonEdge (TM_ARGDECL element_t *aElementPtr, element_t *bElementPtr)
 
coordinate_t element_getNewPoint (element_t *elementPtr)
 
coordinate_t TMelement_getNewPoint (TM_ARGDECL element_t *elementPtr)
 
bool_t element_checkAngles (element_t *elementPtr)
 
void element_print (element_t *elementPtr)
 
void element_printEdge (edge_t *edgePtr)
 
void element_printAngles (element_t *elementPtr)
 

Macro Definition Documentation

#define PELEMENT_ALLOC (   c,
 
)    Pelement_alloc(c, n)
#define PELEMENT_FREE (   e)    /*Pelement_free(e)*/
#define TMELEMENT_ADDNEIGHBOR (   e,
 
)    TMelement_addNeighbor(TM_ARG e, n)
#define TMELEMENT_ALLOC (   c,
 
)    TMelement_alloc(TM_ARG c, n)
#define TMELEMENT_FREE (   e)    /*TMelement_free(TM_ARG e)*/
#define TMELEMENT_GETNEIGHBORLIST (   e)    TMelement_getNeighborListPtr(TM_ARG e)
#define TMELEMENT_ISGARBAGE (   e)    TMelement_isGarbage(TM_ARG e)
#define TMELEMENT_ISREFERENCED (   e)    TMelement_isReferenced(TM_ARG e)
#define TMELEMENT_SETISGARBAGE (   e,
 
)    TMelement_setIsGarbage(TM_ARG e, s)
#define TMELEMENT_SETISREFERENCED (   e,
 
)    TMelement_setIsReferenced(TM_ARG e, s)

Typedef Documentation

typedef pair_t edge_t
typedef struct element element_t

Function Documentation

void element_addNeighbor ( element_t elementPtr,
element_t neighborPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

element_t* element_alloc ( coordinate_t coordinates,
long  numCoordinate 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool_t element_checkAngles ( element_t elementPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

void element_clearEncroached ( element_t elementPtr)

Here is the caller graph for this function:

long element_compare ( element_t aElementPtr,
element_t bElementPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void element_free ( element_t elementPtr)

Here is the call graph for this function:

edge_t* element_getCommonEdge ( element_t aElementPtr,
element_t bElementPtr 
)

Here is the call graph for this function:

edge_t* element_getEdge ( element_t elementPtr,
long  i 
)

Here is the caller graph for this function:

edge_t* element_getEncroachedPtr ( element_t elementPtr)

Here is the caller graph for this function:

list_t* element_getNeighborListPtr ( element_t elementPtr)

Here is the caller graph for this function:

coordinate_t element_getNewPoint ( element_t elementPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

long element_getNumEdge ( element_t elementPtr)

Here is the caller graph for this function:

long element_heapCompare ( const void *  aPtr,
const void *  bPtr 
)
bool_t element_isBad ( element_t elementPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

bool_t element_isGarbage ( element_t elementPtr)
bool_t element_isInCircumCircle ( element_t elementPtr,
coordinate_t coordinatePtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool_t element_isReferenced ( element_t elementPtr)
bool_t element_isSkinny ( element_t elementPtr)

Here is the caller graph for this function:

long element_listCompare ( const void *  aPtr,
const void *  bPtr 
)

Here is the call graph for this function:

long element_listCompareEdge ( const void *  aPtr,
const void *  bPtr 
)

Here is the call graph for this function:

long element_mapCompare ( const pair_t aPtr,
const pair_t bPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

long element_mapCompareEdge ( const pair_t aPtr,
const pair_t bPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void element_print ( element_t elementPtr)

Here is the call graph for this function:

void element_printAngles ( element_t elementPtr)

Here is the call graph for this function:

void element_printEdge ( edge_t edgePtr)

Here is the call graph for this function:

void element_setIsGarbage ( element_t elementPtr,
bool_t  status 
)
void element_setIsReferenced ( element_t elementPtr,
bool_t  status 
)

Here is the caller graph for this function:

element_t* Pelement_alloc ( coordinate_t coordinates,
long  numCoordinate 
)

Here is the call graph for this function:

void Pelement_free ( element_t elementPtr)
void TMelement_addNeighbor ( TM_ARGDECL element_t elementPtr,
element_t neighborPtr 
)
element_t* TMelement_alloc ( TM_ARGDECL coordinate_t coordinates,
long  numCoordinate 
)

Here is the call graph for this function:

long TMelement_compare ( TM_ARGDECL element_t aElementPtr,
element_t bElementPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void TMelement_free ( TM_ARGDECL element_t elementPtr)
edge_t* TMelement_getCommonEdge ( TM_ARGDECL element_t aElementPtr,
element_t bElementPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

list_t* TMelement_getNeighborListPtr ( TM_ARGDECL element_t elementPtr)

Here is the caller graph for this function:

coordinate_t TMelement_getNewPoint ( TM_ARGDECL element_t elementPtr)

Here is the call graph for this function:

Here is the caller graph for this function:

long TMelement_heapCompare ( TM_ARGDECL const void *  aPtr,
const void *  bPtr 
)
TM_CALLABLE bool_t TMelement_isGarbage ( TM_ARGDECL element_t elementPtr)
TM_CALLABLE bool_t TMelement_isReferenced ( TM_ARGDECL element_t elementPtr)
long TMelement_listCompare ( TM_ARGDECL const void *  aPtr,
const void *  bPtr 
)

Here is the call graph for this function:

long TMelement_listCompareEdge ( TM_ARGDECL const void *  aPtr,
const void *  bPtr 
)

Here is the call graph for this function:

TM_CALLABLE void TMelement_setIsGarbage ( TM_ARGDECL element_t elementPtr,
bool_t  status 
)
TM_CALLABLE void TMelement_setIsReferenced ( TM_ARGDECL element_t elementPtr,
bool_t  status 
)