orthoCoords: Convert geographical coordinates to orthodromic coordinates.

Description Usage Arguments Value

Description

This function is used in NVU calculations and corrections.

Usage

1
orthoCoords(lat1, lon1, lat2, lon2, latP, lonP)

Arguments

lat1

Latitude of departure point (in degrees)

lon1

Longitude of departure point (in degrees)

lat2

Latitude of destination point (in degrees)

lon2

Longitude of destination point (in degrees)

latP

Latitude of point to be converted to orthodromic coordinates (in degrees)

lonP

Longitude of point to be converted to orthodromic coordinates (in degrees)

Value

Returns a named vector with orthodromic coordinates Z and S (in km), as well as S0, the negative of the leg distance (which is equivalently the S coordinate of the departure point).


thlytras/rfgfs documentation built on May 31, 2019, 10:44 a.m.