1 #ifndef OSMSCOUT_GROUNDTILE_H 2 #define OSMSCOUT_GROUNDTILE_H 66 inline Coord() =
default;
77 inline void Set(uint16_t x,
88 return x==coord.
x && y==coord.
y && coast==coord.
coast;
101 inline GroundTile() =
default;
static const uint16_t CELL_MAX
Definition: GroundTile.h:60
Coord(uint16_t x, uint16_t y, bool coast)
Definition: GroundTile.h:68
bool coast
Definition: GroundTile.h:64
Definition: GroundTile.h:58
double cellHeight
Height of cell.
Definition: GroundTile.h:98
uint16_t y
Definition: GroundTile.h:63
size_t xRel
X coordinate of cell in relation to cell index of this level.
Definition: GroundTile.h:95
Type
Definition: GroundTile.h:48
void Set(uint16_t x, uint16_t y, bool coast)
Definition: GroundTile.h:77
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
#define CLASS_FINAL
Definition: Compiler.h:26
#define OSMSCOUT_API
Definition: CoreImportExport.h:45
size_t xAbs
Absolute x coordinate of the cell in relation to level and cell size.
Definition: GroundTile.h:93
std::vector< Coord > coords
Optional coordinates for coastline.
Definition: GroundTile.h:99
size_t yRel
Y coordinate of cell in relation to cell index of this level.
Definition: GroundTile.h:96
bool operator==(const Coord &coord) const
Definition: GroundTile.h:86
double cellWidth
Width of cell.
Definition: GroundTile.h:97
GroundTile(Type type)
Definition: GroundTile.h:103
uint16_t x
Definition: GroundTile.h:62