24 #include <olp/core/CoreApi.h>
89 bool operator==(
const GeoPoint& other)
const;
100 return !operator==(other);
113 inline GeoPoint::GeoPoint() : x(0), y(0) {}
115 inline GeoPoint::GeoPoint(uint32_t xx, uint32_t yy) : x(xx), y(yy) {}
118 return x == other.
x &&
y == other.
y;
A geographic location that uses the WGS84 Coordinate System encoded in a 32-bit unsigned integer.
Definition: GeoPoint.h:48
bool operator==(const GeoPoint &other) const
Checks whether the values of the GeoPoint and the other parameters are equal.
Definition: GeoPoint.h:117
bool operator!=(const GeoPoint &other) const
Checks whether the values of the GeoPoint and the other parameters are not equal.
Definition: GeoPoint.h:99
std::uint32_t y
An absolute world Y-coordinate value.
Definition: GeoPoint.h:79
std::uint32_t x
An absolute world X-coordinate value.
Definition: GeoPoint.h:69
GeoPoint & operator+=(const GeoPoint &other)
Adds the values of the GeoPoint and other parameters.
Definition: GeoPoint.h:121
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24