Safe Haskell | None |
---|

- class HasAltitude a where
- altitude :: a -> Length Double
- setAltitude :: Length Double -> a -> a
- groundPosition :: a -> a

# Documentation

class HasAltitude a whereSource

All geographical coordinate systems need the concept of altitude above a reference point, usually associated with local sea level.

Minimum definition: altitude, setAltitude.

altitude :: a -> Length DoubleSource

setAltitude :: Length Double -> a -> aSource

groundPosition :: a -> aSource

Set altitude to zero.

Ellipsoid e => HasAltitude (Geodetic e) | |

HasAltitude (GridPoint g) |