1 #ifndef OSMSCOUT_POINT_H 2 #define OSMSCOUT_POINT_H 44 const GeoCoord& coords)
51 void Set(uint8_t serial,
52 const GeoCoord& coords)
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);
165 static GeoCoord GetCoordFromId(
Id id);
bool operator<(const Point &other) const
Definition: Point.h:159
bool IsRelevant() const
Definition: Point.h:78
Point(uint8_t serial, const GeoCoord &coords)
Definition: Point.h:43
uint64_t Id
Definition: OSMScoutTypes.h:41
bool IsEqual(const Point &other) const
Definition: Point.h:145
void Set(uint8_t serial, const GeoCoord &coords)
Definition: Point.h:51
bool IsSame(const Point &other) const
Definition: Point.h:132
void ClearSerial()
Definition: Point.h:63
uint8_t GetSerial() const
Definition: Point.h:73
#define CLASS_FINAL
Definition: Compiler.h:26
#define OSMSCOUT_API
Definition: CoreImportExport.h:45
void SetSerial(uint8_t serial)
Definition: Point.h:58
bool IsIdentical(const Point &other) const
Definition: Point.h:117
double GetLon() const
Definition: Point.h:103
void SetCoord(const GeoCoord &coords)
Definition: Point.h:68
const GeoCoord & GetCoord() const
Definition: Point.h:93
double GetLat() const
Definition: Point.h:98