olp-cpp-sdk
1.22.0
|
The equirectangular (plate carree) projection. More...
#include <EquirectangularProjection.h>
Public Member Functions | |
GeoRectangle | GetGeoBounds () const override |
Gets the geodetic bounds represented by the projection. More... | |
WorldAlignedBox | WorldExtent (double minimum_altitude, double maximum_altitude) const override |
Creates the extent of world coordinates. More... | |
bool | Project (const GeoCoordinates3d &geo_point, WorldCoordinates &world_point) const override |
Checks whether the geographic coordinates (latitude, longitude, altitude) of a point correspond to its world coordinates (x,y,z). More... | |
bool | Unproject (const WorldCoordinates &world_point, GeoCoordinates3d &geo_point) const override |
Checks whether the world coordinates (x,y,z) of a point correspond to its geographic coordinates (latitude, longitude, altitude). More... | |
The equirectangular (plate carree) projection.
The world and geographic coordinates are related in the following way:
Y
world axis of the following range: [0, 0.5].X
world axis of the following range: [0, 1].Z
world axis and is not scaled.
|
overridevirtual |
Gets the geodetic bounds represented by the projection.
Implements olp::geo::IProjection.
|
overridevirtual |
Checks whether the geographic coordinates (latitude, longitude, altitude) of a point correspond to its world coordinates (x,y,z).
geo_point | The point position in geographic coordinates. |
world_point | The point position in world coordinates. |
Implements olp::geo::IProjection.
|
overridevirtual |
Checks whether the world coordinates (x,y,z) of a point correspond to its geographic coordinates (latitude, longitude, altitude).
world_point | The position in world coordinates. |
geo_point | The position in geographic coordinates. |
Implements olp::geo::IProjection.
|
overridevirtual |
Creates the extent of world coordinates.
minimum_altitude | The minimum altitude in meters. |
maximum_altitude | The maximum altitude in meters. |
Implements olp::geo::IProjection.