Copyright | (c) 2018 Cedric Liegeois |
---|---|
License | BSD3 |
Maintainer | Cedric Liegeois <ofmooseandmen@yahoo.fr> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Earth Centred, Earth Fixed (ECEF) position.
Synopsis
- data EcefPosition
- ecef :: Length -> Length -> Length -> EcefPosition
- ecefMetres :: Double -> Double -> Double -> EcefPosition
- ex :: EcefPosition -> Length
- ey :: EcefPosition -> Length
- ez :: EcefPosition -> Length
Documentation
data EcefPosition Source #
An earth position expressed in the Earth Centred, Earth Fixed (ECEF) coordinates system.
ex-ey
plane is the equatorial plane, ey
is on the prime meridian, and ez
on the polar axis.
Note: on a spherical model earth, an n-vector is equivalent to a normalised version of an (ECEF) cartesian coordinate.
Instances
Eq EcefPosition Source # | |
Defined in Data.Geo.Jord.EcefPosition (==) :: EcefPosition -> EcefPosition -> Bool # (/=) :: EcefPosition -> EcefPosition -> Bool # | |
Show EcefPosition Source # | |
Defined in Data.Geo.Jord.EcefPosition showsPrec :: Int -> EcefPosition -> ShowS # show :: EcefPosition -> String # showList :: [EcefPosition] -> ShowS # | |
IsVector3d EcefPosition Source # | |
Defined in Data.Geo.Jord.EcefPosition vec :: EcefPosition -> Vector3d Source # | |
ETransform EcefPosition Source # |
|
Defined in Data.Geo.Jord.Transform toEcef :: EcefPosition -> Earth -> EcefPosition Source # fromEcef :: EcefPosition -> Earth -> EcefPosition Source # |
ecef :: Length -> Length -> Length -> EcefPosition Source #
EcefPosition
from given x, y and z length.
ex-ey
plane is the equatorial plane, ey
is on the prime meridian, and ez
on the polar axis.
ecefMetres :: Double -> Double -> Double -> EcefPosition Source #
EcefPosition
from given x, y and z length in _metres_.
ex-ey
plane is the equatorial plane, ey
is on the prime meridian, and ez
on the polar axis.
ex :: EcefPosition -> Length Source #
x coordinate of the given '$tc'EcefPosition'.
ey :: EcefPosition -> Length Source #
y coordinate of the given '$tc'EcefPosition'.
ez :: EcefPosition -> Length Source #
z coordinate of the given '$tc'EcefPosition'.