418 #define PELEMENT_ALLOC(c, n) Pelement_alloc(c, n)
419 #define PELEMENT_FREE(e)
422 #define TMELEMENT_ALLOC(c, n) TMelement_alloc(TM_ARG c, n)
423 #define TMELEMENT_FREE(e)
424 #define TMELEMENT_ISREFERENCED(e) TMelement_isReferenced(TM_ARG e)
425 #define TMELEMENT_SETISREFERENCED(e, s) TMelement_setIsReferenced(TM_ARG e, s)
426 #define TMELEMENT_ISGARBAGE(e) TMelement_isGarbage(TM_ARG e)
427 #define TMELEMENT_SETISGARBAGE(e, s) TMelement_setIsGarbage(TM_ARG e, s)
428 #define TMELEMENT_ADDNEIGHBOR(e, n) TMelement_addNeighbor(TM_ARG e, n)
429 #define TMELEMENT_GETNEIGHBORLIST(e) TMelement_getNeighborListPtr(TM_ARG e)
bool_t element_isSkinny(element_t *elementPtr)
Definition: element.c:747
bool_t element_isBad(element_t *elementPtr)
Definition: element.c:759
list_t * element_getNeighborListPtr(element_t *elementPtr)
Definition: element.c:886
long element_listCompareEdge(const void *aPtr, const void *bPtr)
Definition: element.c:612
#define TM_CALLABLE
Definition: cxxtm.hpp:32
long TMelement_listCompareEdge(TM_ARGDECL const void *aPtr, const void *bPtr)
Definition: element.c:621
pair_t edge_t
Definition: element.h:83
bool_t element_isInCircumCircle(element_t *elementPtr, coordinate_t *coordinatePtr)
Definition: element.c:700
edge_t * element_getEdge(element_t *elementPtr, long i)
Definition: element.c:566
long TMelement_compare(TM_ARGDECL element_t *aElementPtr, element_t *bElementPtr)
Definition: element.c:355
element_t * TMelement_alloc(TM_ARGDECL coordinate_t *coordinates, long numCoordinate)
Definition: element.c:487
long element_listCompare(const void *aPtr, const void *bPtr)
Definition: element.c:345
TM_CALLABLE bool_t TMelement_isReferenced(TM_ARGDECL element_t *elementPtr)
Definition: element.c:784
long element_mapCompareEdge(const pair_t *aPtr, const pair_t *bPtr)
Definition: element.c:637
void TMelement_free(TM_ARGDECL element_t *elementPtr)
Definition: element.c:541
long element_heapCompare(const void *aPtr, const void *bPtr)
Definition: element.c:653
TM_CALLABLE void TMelement_setIsReferenced(TM_ARGDECL element_t *elementPtr, bool_t status)
Definition: element.c:806
element_t * element_alloc(coordinate_t *coordinates, long numCoordinate)
Definition: element.c:423
void element_addNeighbor(element_t *elementPtr, element_t *neighborPtr)
Definition: element.c:863
void TMelement_addNeighbor(TM_ARGDECL element_t *elementPtr, element_t *neighborPtr)
Definition: element.c:875
int bool_t
Definition: portable_defns.h:32
long TMelement_listCompare(TM_ARGDECL const void *aPtr, const void *bPtr)
Definition: element.c:391
#define TM_ARGDECL
Definition: tm.h:532
coordinate_t coordinates[3]
Definition: element.c:85
TM_CALLABLE bool_t TMelement_isGarbage(TM_ARGDECL element_t *elementPtr)
Definition: element.c:830
bool_t element_checkAngles(element_t *elementPtr)
Definition: element.c:1005
void Pelement_free(element_t *elementPtr)
Definition: element.c:529
element_t * Pelement_alloc(coordinate_t *coordinates, long numCoordinate)
Definition: element.c:455
void element_print(element_t *elementPtr)
Definition: element.c:1032
void element_clearEncroached(element_t *elementPtr)
Definition: element.c:725
void element_free(element_t *elementPtr)
Definition: element.c:517
edge_t * element_getCommonEdge(element_t *aElementPtr, element_t *bElementPtr)
Definition: element.c:905
Definition: coordinate.h:79
coordinate_t TMelement_getNewPoint(TM_ARGDECL element_t *elementPtr)
Definition: element.c:976
long element_mapCompare(const pair_t *aPtr, const pair_t *bPtr)
Definition: element.c:406
void element_setIsReferenced(element_t *elementPtr, bool_t status)
Definition: element.c:795
void element_setIsGarbage(element_t *elementPtr, bool_t status)
Definition: element.c:841
long element_getNumEdge(element_t *elementPtr)
Definition: element.c:553
long numCoordinate
Definition: element.c:86
edge_t * TMelement_getCommonEdge(TM_ARGDECL element_t *aElementPtr, element_t *bElementPtr)
Definition: element.c:928
bool_t element_isGarbage(element_t *elementPtr)
Definition: element.c:818
coordinate_t element_getNewPoint(element_t *elementPtr)
Definition: element.c:957
long TMelement_heapCompare(TM_ARGDECL const void *aPtr, const void *bPtr)
Definition: element.c:674
TM_CALLABLE void TMelement_setIsGarbage(TM_ARGDECL element_t *elementPtr, bool_t status)
Definition: element.c:852
void element_printAngles(element_t *elementPtr)
Definition: element.c:1063
bool_t element_isReferenced(element_t *elementPtr)
Definition: element.c:772
void element_printEdge(edge_t *edgePtr)
Definition: element.c:1050
list_t * TMelement_getNeighborListPtr(TM_ARGDECL element_t *elementPtr)
Definition: element.c:892
edge_t * element_getEncroachedPtr(element_t *elementPtr)
Definition: element.c:736
long element_compare(element_t *aElementPtr, element_t *bElementPtr)
Definition: element.c:312