MeshKernel
|
Converts points from spherical to Cartesian coordinate system using an EPSG code. More...
#include <ProjectionConversions.hpp>
Public Types | |
using | EpsgProjection = boost::geometry::srs::projection< boost::geometry::srs::static_epsg< EpsgCode > > |
The EPSG projection. | |
Public Types inherited from meshkernel::ConvertCartesianToSphericalBase< boost::geometry::srs::projection< boost::geometry::srs::static_epsg< EpsgCode > > > | |
using | LongLat = bg::model::d2::point_xy< double, bg::cs::geographic< bg::degree > > |
point in longitude-latitude space | |
using | UTM = bg::model::d2::point_xy< double > |
Point in x-y space. | |
Public Member Functions | |
ConvertCartesianToSphericalEPSG () | |
Construct spherical to Cartesian with an EPSG code. | |
Public Member Functions inherited from meshkernel::ConvertCartesianToSphericalBase< boost::geometry::srs::projection< boost::geometry::srs::static_epsg< EpsgCode > > > | |
ConvertCartesianToSphericalBase (const boost::geometry::srs::projection< boost::geometry::srs::static_epsg< EpsgCode > > &proj) | |
Constructor with projection. | |
virtual | ~ConvertCartesianToSphericalBase ()=default |
Default destructor. | |
Projection | SourceProjection () const |
The coordinate system of the point parameter to the conversion operation. | |
Projection | TargetProjection () const |
The coordinate system of the point result of the conversion operation. | |
Point | operator() (const Point &pnt) const |
Apply the conversion of a point in Cartesian coordinate system to spherical. | |
Converts points from spherical to Cartesian coordinate system using an EPSG code.