19 #ifdef HAVE_RTREE_KEYS
21 int rtree_key_cmp(
HA_KEYSEG *keyseg, uchar *a, uchar *b, uint key_length,
23 int rtree_combine_rect(
HA_KEYSEG *keyseg,uchar *, uchar *, uchar*,
25 double rtree_rect_volume(
HA_KEYSEG *keyseg, uchar*, uint key_length);
26 int rtree_d_mbr(
HA_KEYSEG *keyseg, uchar *a, uint key_length,
double *res);
27 double rtree_overlapping_area(
HA_KEYSEG *keyseg, uchar *a, uchar *b,
29 double rtree_area_increase(
HA_KEYSEG *keyseg, uchar *a, uchar *b,
30 uint key_length,
double *ab_area);
31 double rtree_perimeter_increase(
HA_KEYSEG *keyseg, uchar* a, uchar* b,
32 uint key_length,
double *ab_perim);
34 uchar* c, uint key_length);