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

The implementation of SegmentST. More...

Include dependency graph for GiST.c:

Macros

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

Functions

PGDLLEXPORT Datum consistentGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (consistentGiSTSegmentST)
 
PGDLLEXPORT Datum distanceGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (distanceGiSTSegmentST)
 
PGDLLEXPORT Datum compressGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (compressGiSTSegmentST)
 
PGDLLEXPORT Datum decompressGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (decompressGiSTSegmentST)
 
PGDLLEXPORT Datum unionGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (unionGiSTSegmentST)
 
PGDLLEXPORT Datum penaltyGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (penaltyGiSTSegmentST)
 
PGDLLEXPORT Datum picksplitGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (picksplitGiSTSegmentST)
 
PGDLLEXPORT Datum sameGiSTSegmentST (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sameGiSTSegmentST)
 

Detailed Description

The implementation of SegmentST.

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 picksplitGiSTSegmentST().

Function Documentation

PGDLLEXPORT Datum compressGiSTSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum decompressGiSTSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum distanceGiSTSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum penaltyGiSTSegmentST ( PG_FUNCTION_ARGS  )
PG_FUNCTION_INFO_V1 ( consistentGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( distanceGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( compressGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( decompressGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( unionGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( penaltyGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( picksplitGiSTSegmentST  )
PG_FUNCTION_INFO_V1 ( sameGiSTSegmentST  )
PGDLLEXPORT Datum picksplitGiSTSegmentST ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sameGiSTSegmentST ( PG_FUNCTION_ARGS  )

References equalsBoxST(), BoxSP::h, BoxSP::l, outBoxST(), BoxST::sp, PointSP::x, and PointSP::y.

Here is the call graph for this function:

PGDLLEXPORT Datum unionGiSTSegmentST ( PG_FUNCTION_ARGS  )

References i(), SegmentST2BoxST(), and unionBoxST_SegmentST().

Here is the call graph for this function: