viz1090/mapdata.h
nathan e2de0076c2 cleaning up unused
Former-commit-id: 28877253544f45f3037bc5214478df8fb2536ce0
Former-commit-id: c3fef4350543beba9e002116f09124abe67deb2e
2020-03-02 22:22:35 -08:00

43 lines
591 B
C

#ifndef MAPPOINTS_H
#define MAPPOINTS_H
float *mapPoints_relative;
int mapPoints_count;
float *mapPoints;
typedef struct Point{
float lat;
float lon;
struct Point *next;
} Point;
typedef struct Polygon{
float lat_min;
float lat_max;
float lon_min;
float lon_max;
Point *points;
int numPoints;
struct Polygon *next;
} Polygon;
typedef struct QuadTree{
float lat_min;
float lat_max;
float lon_min;
float lon_max;
Polygon *polygons;
struct QuadTree *nw;
struct QuadTree *sw;
struct QuadTree *ne;
struct QuadTree *se;
} QuadTree;
QuadTree root;
#endif