olp-cpp-sdk
1.22.0
|
The identity projection used to work with geographic and world coordinates. More...
#include <IProjection.h>
Public Member Functions | |
virtual GeoRectangle | GetGeoBounds () const =0 |
Gets the geodetic bounds represented by the projection. More... | |
virtual WorldAlignedBox | WorldExtent (double minimum_altitude, double maximum_altitude) const =0 |
Creates the extent of world coordinates. More... | |
virtual bool | Project (const GeoCoordinates3d &geo_point, WorldCoordinates &world_point) const =0 |
Checks whether the geographic coordinates (latitude, longitude, altitude) of a point correspond to its world coordinates (x,y,z). More... | |
virtual bool | Unproject (const WorldCoordinates &world_point, GeoCoordinates3d &geo_point) const =0 |
Checks whether the world coordinates (x,y,z) of a point correspond to its geographic coordinates (latitude, longitude, altitude). More... | |
The identity projection used to work with geographic and world coordinates.
|
pure virtual |
Gets the geodetic bounds represented by the projection.
Implemented in olp::geo::WebMercatorProjection, olp::geo::SphereProjection, olp::geo::IdentityProjection, and olp::geo::EquirectangularProjection.
|
pure virtual |
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. |
Implemented in olp::geo::WebMercatorProjection, olp::geo::SphereProjection, olp::geo::IdentityProjection, and olp::geo::EquirectangularProjection.
|
pure virtual |
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. |
Implemented in olp::geo::WebMercatorProjection, olp::geo::SphereProjection, olp::geo::IdentityProjection, and olp::geo::EquirectangularProjection.
|
pure virtual |
Creates the extent of world coordinates.
minimum_altitude | The minimum altitude in meters. |
maximum_altitude | The maximum altitude in meters. |
Implemented in olp::geo::WebMercatorProjection, olp::geo::SphereProjection, olp::geo::IdentityProjection, and olp::geo::EquirectangularProjection.