#include <stdio.h>
#include "index.h"
Go to the source code of this file.
Functions | |
int | MySearchCallback (int id, void *arg) |
int | main () |
Variables | |
struct Rect | rects [] |
int | nrects = sizeof(rects) / sizeof(rects[0]) |
struct Rect | search_rect |
int main | ( | ) |
Definition at line 40 of file rtree/test.c.
References MySearchCallback(), nrects, RTreeInsertRect(), RTreeNewIndex(), and RTreeSearch().
int MySearchCallback | ( | int | id, | |
void * | arg | |||
) |
Initial value:
{ { {0, 0, 0, 2, 2, 0} }, { {5, 5, 0, 7, 7, 0} }, { {8, 5, 0, 9, 6, 0} }, { {7, 1, 0, 9, 2, 0} } }
Definition at line 20 of file rtree/test.c.
struct Rect search_rect |