Description Usage Arguments Value

This function is used in NVU calculations and corrections.

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

`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) |

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).

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.