hcoord-1.0.0.0: Easily convert between latitude/longitude, UTM and OSGB.

Safe HaskellSafe
LanguageHaskell2010

ECEFRef

Synopsis

Documentation

data ECEFRef Source #

ECEF (earth-centred, earth-fixed) Cartesian co-ordinates are used to define a point in three-dimensional space. ECEF co-ordinates are defined relative to an x-axis (the intersection of the equatorial plane and the plane defined by the prime meridian), a y-axis (at 90° to the x-axis and its intersection with the equator) and a z-axis (intersecting the North Pole). All the axes intersect at the point defined by the centre of mass of the Earth.

Constructors

ECEFRef 

Fields

Instances

toECEFRef :: LatLng -> ECEFRef Source #

Create a new earth-centred, earth-fixed reference from the given latitude and longitude.

toLatLng :: ECEFRef -> LatLng Source #

Convert this ECEFRef object to a LatLng.