CAAGlobe_DistanceBetweenPoints: CAAGlobe_DistanceBetweenPoints

Description Usage Arguments Value Author(s) References Examples

View source: R/CAAGlobe_DistanceBetweenPoints.R

Description

CAAGlobe_DistanceBetweenPoints

Usage

1
CAAGlobe_DistanceBetweenPoints(GeographicalLatitude1, GeographicalLongitude1, GeographicalLatitude2, GeographicalLongitude2)

Arguments

GeographicalLatitude1

GeographicalLatitude1 The latitude of the position of the first point in degrees.

GeographicalLongitude1

GeographicalLongitude1 The latitude of the position of the first point in degrees.

GeographicalLatitude2

GeographicalLatitude2 The latitude of the position of the second point in degrees.

GeographicalLongitude2

GeographicalLongitude2 The latitude of the position of the first point in degrees.

Value

The shortest distance between two known points on the surface of the Earth expressed in kilometres.

Author(s)

C++ code by PJ Naughter, imported to R by Jinlong Zhang

References

Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.

Examples

1
2

helixcn/skycalc documentation built on March 31, 2021, 5:45 a.m.