jord-0.6.0.0: Geographical Position Calculations

Copyright(c) 2018 Cedric Liegeois
LicenseBSD3
MaintainerCedric Liegeois <ofmooseandmen@yahoo.fr>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Data.Geo.Jord.NVector

Description

Types and functions for working with n-vectors.

Synopsis

Documentation

data NVector Source #

Represents a position as the normal vector to the sphere.

Orientation: z-axis points to the North Pole along the Earth's rotation axis, x-axis points towards the point where latitude = longitude = 0.

nvector :: Double -> Double -> Double -> NVector Source #

Unit NVector from given x, y and z.

northPole :: NVector Source #

Horizontal position of the North Pole.

southPole :: NVector Source #

Horizontal position of the South Pole.