Function swri_transform_util::GreatCircleDistance(const tf2::Vector3&, const tf2::Vector3&)

Function Documentation

double swri_transform_util::GreatCircleDistance(const tf2::Vector3 &src, const tf2::Vector3 &dst)

Calculates the great circle distance between two points.

Parameters:
  • src[in] Source(x = longitude, y = latitude, z ignored)

  • dst[in] Destination(x = longitude, y = latitude, z ignored)

Returns:

Distance in meters.