Computes distance (in km), azimuth (degrees clockwise positive
from North, 0 to 360), and back azimuth (degrees clockwise positive
from North, 0 to 360), from latitude-longituide point pt1 to
latitude-longituide pt2.
copy array a to array result as bytes
The values from the array a are converted to byte (if needed),
and then converted to the type of result (if needed).
copy array a to array result as char
The values from the array a are converted to char (if needed),
and then converted to the type of result (if needed).
copy array a to array result as doubles
The values from the arrays a are converted to double (if needed),
and then converted to the type of result (if needed).
copy array a to array result as floats
The values from the arrays a are converted to float (if needed),
and then converted to the type of result (if needed).
copy array a to array result as integers
The values from the arrays a are converted to integer (if needed),
and then converted to the type of result (if needed).
copy array a to array result as longs
The values from the array a are converted to long (if needed),
and then converted to the type of result (if needed).
copy array a to array result as shorts
The values from the array a are converted to short (if needed),
and then converted to the type of result (if needed).