Peano
projection::albers_equal_area::sphere Namespace Reference

Functions

auto forward (const auto lon, const auto lat)
 Projects geographic coordinates (longitude, latitude) onto a planar surface using the Albers Equal-Area Conic projection for a spherical Earth model. More...
 
auto inverse (const auto x, const auto y)
 Inverts the spherical Albers Equal-Area Conic projection 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::sphere::forward ( const auto  lon,
const auto  lat 
)

Projects geographic coordinates (longitude, latitude) onto a planar surface using the Albers Equal-Area Conic projection for a spherical Earth model.

This simplified version assumes a spherical Earth with radius R and is suitable for regional mapping where area preservation is required but ellipsoidal precision is not necessary.

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

Definition at line 23 of file SphereProjection.h.

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

Referenced by sphereTransform().

Here is the caller graph for this function:

◆ inverse()

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

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

This implementation assumes a spherical Earth model and uses the analytical inverse of the projection equations without iteration.

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

Definition at line 64 of file SphereProjection.h.

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

Referenced by sphereTransformInverse().

Here is the caller graph for this function: