1#ifndef OSMSCOUT_POINT_H
2#define OSMSCOUT_POINT_H
51 void Set(uint8_t serial,
100 return coord.GetLat();
105 return coord.GetLon();
119 return serial==other.serial &&
coord==other.coord;
134 return coord==other.coord;
147 return coord==other.coord;
161 return coord<other.GetCoord() ||
162 (
coord==other.GetCoord() && serial < other.serial);
#define OSMSCOUT_API
Definition CoreImportExport.h:45
bool operator<(const Point &other) const
Definition Point.h:159
const GeoCoord coord
Definition RouteStateAgent.h:49
uint8_t GetSerial() const
Definition Point.h:73
bool IsRelevant() const
Definition Point.h:78
Point(uint8_t serial, const GeoCoord &coords)
Definition Point.h:43
void Set(uint8_t serial, const GeoCoord &coords)
Definition Point.h:51
std::vector< Coord > coords
Optional coordinates for coastline.
Definition GroundTile.h:99
bool IsSame(const Point &other) const
Definition Point.h:132
void SetSerial(uint8_t serial)
Definition Point.h:58
static GeoCoord GetCoordFromId(Id id)
void SetCoord(const GeoCoord &coords)
Definition Point.h:68
bool IsEqual(const Point &other) const
Definition Point.h:145
double GetLat() const
Definition Point.h:98
void ClearSerial()
Definition Point.h:63
double GetLon() const
Definition Point.h:103
bool IsIdentical(const Point &other) const
Definition Point.h:117
const GeoCoord & GetCoord() const
Definition Point.h:93
uint64_t Id
Definition OSMScoutTypes.h:40