Safe Haskell | None |
---|---|

Language | Haskell2010 |

## Synopsis

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

# Documentation

class HasAltitude a where Source #

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 Double Source #

setAltitude :: Length Double -> a -> a Source #

groundPosition :: a -> a Source #

Set altitude to zero.

## Instances

Ellipsoid e => HasAltitude (Geodetic e) Source # | |

HasAltitude (GridPoint g) Source # | |