PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Classes | Public Member Functions | Private Attributes | List of all members
pism::LonLatCalculator Class Reference

#include <projection.hh>

Classes

struct  Impl
 

Public Member Functions

 LonLatCalculator (const std::string &proj_string)
 
 ~LonLatCalculator ()
 
double lon (double x, double y) const
 
double lat (double x, double y) const
 
std::array< double, 2 > lonlat (double x, double y) const
 

Private Attributes

Implm_impl
 

Detailed Description

Utility class converting x,y coordinates in a projection to a lon,lat pair.

Requires the PROJ library.

Definition at line 72 of file projection.hh.


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