coordinate-0.1.2: A representation of latitude and longitude

Safe HaskellNone
LanguageHaskell2010

Data.Geodetic.Sphere

Synopsis

Documentation

earthMean :: Sphere Source #

>>> earthMean
Sphere 6367450.0

ellipsoidSphere :: Prism' Ellipsoid Sphere Source #

>>> ellipsoidSphere # Sphere 77
Ellipsoid {_semiMajor = 77.0, _flattening = 1.0}
>>> Ellipsoid 77 1 ^? ellipsoidSphere
Just (Sphere 77.0)
>>> Ellipsoid 77 2 ^? ellipsoidSphere
Nothing