22 #include <olp/core/CoreApi.h>
23 #include <olp/core/geo/coordinates/GeoCoordinates.h>
A geographic location that uses the WGS84 Coordinate System.
Definition: GeoCoordinates.h:38
A rectangular area in the WGS84 Coordinate System.
Definition: GeoRectangle.h:33
GeoRectangle(const GeoCoordinates &south_west, const GeoCoordinates &north_east)
Creates a GeoRectangle instance.
bool Overlaps(const GeoRectangle &rectangle) const
Checks whether two rectangles overlap.
bool Contains(const GeoCoordinates &point) const
Checks whether the coordinates contain a point.
GeoCoordinates north_east_
The northeast corner of the rectangle.
Definition: GeoRectangle.h:161
double LongitudeSpan() const
Gets the longitude span of the rectangle.
bool IsEmpty() const
Checks whether the rectangle is empty.
GeoCoordinates Center() const
Computes the center of the rectangle.
GeoCoordinates NorthWest() const
Computes the northwest corner of the rectangle.
GeoCoordinates SouthWest() const
Computes the southwest corner of the rectangle.
GeoCoordinates SouthEast() const
Computes the southeast corner of the rectangle.
bool operator==(const GeoRectangle &other) const
Checks whether two rectangles are equal.
double LatitudeSpan() const
Gets the latitude span of the rectangle.
GeoRectangle BooleanUnion(const GeoRectangle &other) const
Unites two regtangles that have shared areas.
GeoCoordinates NorthEast() const
Computes the northeast corner of the rectangle.
GeoRectangle & GrowToContain(const GeoCoordinates &point)
Expands the current rectangle so that it contains a point.
GeoCoordinates south_west_
The southwest corner of the rectangle.
Definition: GeoRectangle.h:159
bool operator!=(const GeoRectangle &other) const
Checks whether two rectangles are not equal.
GeoRectangle()
Creates an empty rectangle.
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24