1#ifndef OSMSCOUT_GROUNDTILE_H
2#define OSMSCOUT_GROUNDTILE_H
#define OSMSCOUT_API
Definition CoreImportExport.h:45
size_t yRel
Y coordinate of cell in relation to cell index of this level.
Definition GroundTile.h:96
const GeoCoord coord
Definition RouteStateAgent.h:49
@ coast
right side of the coast => a water tile
Definition GroundTile.h:52
@ water
left side of the coast => a land tile
Definition GroundTile.h:51
@ unknown
Definition GroundTile.h:49
@ land
We do not know yet.
Definition GroundTile.h:50
std::vector< Coord > coords
Optional coordinates for coastline.
Definition GroundTile.h:99
Type
Definition GroundTile.h:48
size_t yAbs
Absolute y coordinate of the cell in relation to level and cell size.
Definition GroundTile.h:94
Type type
The type of the cell.
Definition GroundTile.h:92
size_t xAbs
Absolute x coordinate of the cell in relation to level and cell size.
Definition GroundTile.h:93
double cellWidth
Width of cell.
Definition GroundTile.h:97
double cellHeight
Height of cell.
Definition GroundTile.h:98
size_t xRel
X coordinate of cell in relation to cell index of this level.
Definition GroundTile.h:95
GroundTile(Type type)
Definition GroundTile.h:103
uint16_t y
Definition GroundTile.h:63
Coord(uint16_t x, uint16_t y, bool coast)
Definition GroundTile.h:68
bool coast
Definition GroundTile.h:64
uint16_t x
Definition GroundTile.h:62
static const uint16_t CELL_MAX
Definition GroundTile.h:60
bool operator==(const Coord &coord) const
Definition GroundTile.h:86
void Set(uint16_t x, uint16_t y, bool coast)
Definition GroundTile.h:77