SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Test.cpp File Reference
#include <stdio.h>
#include "RTree.h"

Go to the source code of this file.

Data Structures

struct  Rect
 

Functions

void main ()
 
bool MySearchCallback (int id, void *arg)
 

Variables

int nrects = sizeof(rects) / sizeof(rects[0])
 
struct Rect rects []
 
Rect search_rect (6, 4, 10, 6)
 

Function Documentation

bool MySearchCallback ( int  id,
void *  arg 
)

Definition at line 41 of file Test.cpp.

Referenced by main().

Variable Documentation

int nrects = sizeof(rects) / sizeof(rects[0])

Definition at line 36 of file Test.cpp.

Referenced by main().

struct Rect rects[]
Initial value:
=
{
Rect(0, 0, 2, 2),
Rect(5, 5, 7, 7),
Rect(8, 5, 9, 6),
Rect(7, 1, 9, 2),
}
Definition: Test.cpp:10

Definition at line 28 of file Test.cpp.

Rect search_rect(6, 4, 10, 6)

Referenced by main().