Peano
projection::albers_equal_area::ellipsoid Namespace Reference

Functions

auto forward (const auto lon, const auto lat)
 
auto inverse (const auto x, const auto y)
 Inverts the Albers Equal-Area Conic projection for WGS_1984 and returns the geographic coordinates (longitude, latitude in degrees) corresponding to the given planar coordinates (x, y in meters). More...
 

Function Documentation

◆ forward()

auto projection::albers_equal_area::ellipsoid::forward ( const auto  lon,
const auto  lat 
)

Definition at line 23 of file EllipsoidProjection.h.

References acoustic::p, ModeCalc::x, and csv_to_plot::y.

Referenced by ellipsoidTransform().

Here is the caller graph for this function:

◆ inverse()

auto projection::albers_equal_area::ellipsoid::inverse ( const auto  x,
const auto  y 
)

Inverts the Albers Equal-Area Conic projection for WGS_1984 and returns the geographic coordinates (longitude, latitude in degrees) corresponding to the given planar coordinates (x, y in meters).

The function uses an iterative Newton-like method to recover the latitude from the projected y-coordinate, based on the equations in USGS Professional Paper 1395.

See also
https://doi.org/10.3133/pp1395

Definition at line 86 of file EllipsoidProjection.h.

References acoustic::p, ModeCalc::x, and csv_to_plot::y.

Referenced by ellipsoidTransformInverse().

Here is the caller graph for this function: