|
| #define | INTERSECT_CMP(amin, amax, bmin, bmax) ((amin > bmax) || (bmin > amax)) |
| |
| #define | CONTAIN_CMP(amin, amax, bmin, bmax) ((bmin > amin) || (bmax < amax)) |
| |
| #define | WITHIN_CMP(amin, amax, bmin, bmax) ((amin > bmin) || (amax < bmax)) |
| |
| #define | DISJOINT_CMP(amin, amax, bmin, bmax) ((amin <= bmax) && (bmin <= amax)) |
| |
| #define | EQUAL_CMP(amin, amax, bmin, bmax) ((amin != bmin) || (amax != bmax)) |
| |
| #define | FCMP(A, B) ((int)(A) - (int)(B)) |
| |
| #define | RT_CMP(nextflag) |
| |
| #define | RT_CMP_KORR(type, korr_func, len, nextflag) |
| |
| #define | RT_CMP_GET(type, get_func, len, nextflag) |
| |
| #define | RT_VOL_KORR(type, korr_func, len, cast) |
| |
| #define | RT_VOL_GET(type, get_func, len, cast) |
| |
| #define | RT_D_MBR_KORR(type, korr_func, len, cast) |
| |
| #define | RT_D_MBR_GET(type, get_func, len, cast) |
| |
| #define | RT_COMB_KORR(type, korr_func, store_func, len) |
| |
| #define | RT_COMB_GET(type, get_func, store_func, len) |
| |
| #define | RT_OVL_AREA_KORR(type, korr_func, len) |
| |
| #define | RT_OVL_AREA_GET(type, get_func, len) |
| |
| #define | RT_AREA_INC_KORR(type, korr_func, len) |
| |
| #define | RT_AREA_INC_GET(type, get_func, len) |
| |
| #define | RT_PERIM_INC_KORR(type, korr_func, len) |
| |
| #define | RT_PERIM_INC_GET(type, get_func, len) |
| |
| #define | RT_PAGE_MBR_KORR(type, korr_func, store_func, len) |
| |
| #define | RT_PAGE_MBR_GET(type, get_func, store_func, len) |
| |
|
| int | rtree_key_cmp (HA_KEYSEG *keyseg, uchar *b, uchar *a, uint key_length, uint nextflag) |
| |
| double | rtree_rect_volume (HA_KEYSEG *keyseg, uchar *a, uint key_length) |
| |
| int | rtree_d_mbr (HA_KEYSEG *keyseg, uchar *a, uint key_length, double *res) |
| |
| int | rtree_combine_rect (HA_KEYSEG *keyseg, uchar *a, uchar *b, uchar *c, uint key_length) |
| |
| double | rtree_overlapping_area (HA_KEYSEG *keyseg, uchar *a, uchar *b, uint key_length) |
| |
| double | rtree_area_increase (HA_KEYSEG *keyseg, uchar *a, uchar *b, uint key_length, double *ab_area) |
| |
| double | rtree_perimeter_increase (HA_KEYSEG *keyseg, uchar *a, uchar *b, uint key_length, double *ab_perim) |
| |
| int | rtree_page_mbr (MI_INFO *info, HA_KEYSEG *keyseg, uchar *page_buf, uchar *c, uint key_length) |
| |