5 #ifndef MERCATOR_TERRAIN_H
6 #define MERCATOR_TERRAIN_H
8 #include <Mercator/Mercator.h>
9 #include <Mercator/BasePoint.h>
11 #include <wfmath/vector.h>
12 #include <wfmath/axisbox.h>
38 typedef WFMath::AxisBox<2>
Rect;
57 static const unsigned int DEFAULT = 0x0000;
59 static const unsigned int SHADED = 0x0001;
103 unsigned int resolution = defaultResolution);
106 float get(
float x,
float y)
const;
123 int ix = (int)floor(x /
m_res);
124 int iy = (int)floor(y /
m_res);
179 #endif // MERCATOR_TERRAIN_H