Template Function geodesy::inverse_vector

Function Documentation

template<typename EllipsoidParameters>
static geometry_msgs::msg::Vector3 geodesy::inverse_vector(const geographic_msgs::msg::GeoPoint &p1, const geographic_msgs::msg::GeoPoint &p2)

Calculates the inverse direction vector from p1 to p2 on the specified ellipsoid. The result is a vector with x and y components representing the east and north components of the direction.