Hermes
 All Data Structures Files Functions Variables Macros Pages
GiST.c File Reference

The implementantion of BoxST. More...

Include dependency graph for GiST.c:

Macros

#define ADDLIST(list, unionD, curBox, pos, num)
 

Functions

PGDLLEXPORT Datum consistentGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (consistentGiSTBoxST)
 
PGDLLEXPORT Datum distanceGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (distanceGiSTBoxST)
 
PGDLLEXPORT Datum compressGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (compressGiSTBoxST)
 
PGDLLEXPORT Datum decompressGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (decompressGiSTBoxST)
 
PGDLLEXPORT Datum unionGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (unionGiSTBoxST)
 
PGDLLEXPORT Datum penaltyGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (penaltyGiSTBoxST)
 
PGDLLEXPORT Datum picksplitGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (picksplitGiSTBoxST)
 
PGDLLEXPORT Datum sameGiSTBoxST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sameGiSTBoxST)
 

Detailed Description

The implementantion of BoxST.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

Macro Definition Documentation

#define ADDLIST (   list,
  unionD,
  curBox,
  pos,
  num 
)
Value:
do { \
if (pos != 0) { \
unionBoxST_BoxST(unionD, curBox, unionD); \
} else { \
*unionD = *curBox; \
} \
list[pos] = num; \
pos++; \
} while(0)
BoxST * unionBoxST_BoxST(const BoxST *boxA, const BoxST *boxB, BoxST *result)
Definition: Interactions.c:86

Referenced by picksplitGiSTBoxST().

Function Documentation

PGDLLEXPORT Datum compressGiSTBoxST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum consistentGiSTBoxST ( PG_FUNCTION_ARGS  )

References intersectsBoxSP_BoxSP(), intersectsBoxST_BoxST(), and intersectsPeriod_Period().

Here is the call graph for this function:

PGDLLEXPORT Datum decompressGiSTBoxST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum distanceGiSTBoxST ( PG_FUNCTION_ARGS  )

References distanceBoxSP_BoxSP(), and distancePeriod_Period().

Here is the call graph for this function:

PGDLLEXPORT Datum penaltyGiSTBoxST ( PG_FUNCTION_ARGS  )

References areaBoxSP(), durationPeriod(), BoxST::sp, BoxST::t, and unionBoxST_BoxST().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( consistentGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( distanceGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( compressGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( decompressGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( unionGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( penaltyGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( picksplitGiSTBoxST  )
PG_FUNCTION_INFO_V1 ( sameGiSTBoxST  )
PGDLLEXPORT Datum picksplitGiSTBoxST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sameGiSTBoxST ( PG_FUNCTION_ARGS  )

References equalsBoxST().

Here is the call graph for this function:

PGDLLEXPORT Datum unionGiSTBoxST ( PG_FUNCTION_ARGS  )

References cloneBoxST(), i(), and unionBoxST_BoxST().

Here is the call graph for this function: