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

Converts points from spherical to Cartesian coordinate system. More...

#include <ProjectionConversions.hpp>

Public Types

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

 ConvertCartesianToSphericalBase (const ProjectionConversion &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<typename ProjectionConversion>
class meshkernel::ConvertCartesianToSphericalBase< ProjectionConversion >

Converts points from spherical to Cartesian coordinate system.


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