List of all members.
Public Types |
typedef struct rect | rect |
Public Member Functions |
| QuadTree () |
| Does nothing.
|
| ~QuadTree () |
| Deletes the quadtree.
|
void | create (Corpus *c, rect view) |
| Creates a new quadtree for a Corpus and a given rectangle.
|
int | nearest (double x, double y) |
| Returns the index of the nearest element. Returns -1 if nothing is found.
|
Member Function Documentation
Creates a new quadtree for a Corpus and a given rectangle.
Create the initial list of all elements
Recurse
The documentation for this class was generated from the following files: