MeshKernel
Public Types | Public Member Functions | List of all members
meshkernel::ConvertCartesianToSphericalEPSG< EpsgCode > Class Template Reference

Converts points from spherical to Cartesian coordinate system using an EPSG code. More...

#include <ProjectionConversions.hpp>

Inheritance diagram for meshkernel::ConvertCartesianToSphericalEPSG< EpsgCode >:
meshkernel::ConvertCartesianToSphericalBase< boost::geometry::srs::projection< boost::geometry::srs::static_epsg< EpsgCode > > >

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.
 

Detailed Description

template<const int EpsgCode>
class meshkernel::ConvertCartesianToSphericalEPSG< EpsgCode >

Converts points from spherical to Cartesian coordinate system using an EPSG code.


The documentation for this class was generated from the following file: