Skip to content

InverseSolution

struct nmeasim::core::geo::InverseSolution ยท Library API

Result of the inverse geodesic problem between two positions.

#include <nmeasim/core/geo/geodesic.hpp>

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp (line 36)

See also

Summary

Public data members

Name Description
distance_m Length of the shortest path along the ellipsoid surface; 0 for coincident positions.
initial_bearing_deg True bearing of the path at its start, in [0, 360).
final_bearing_deg True bearing of the path at its end, in [0, 360): the direction of travel on arrival, not the bearing back to the start.

Public data members

distance_m

double distance_m{0.0}

Length of the shortest path along the ellipsoid surface; 0 for coincident positions.

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp:38

initial_bearing_deg

double initial_bearing_deg{0.0}

True bearing of the path at its start, in [0, 360).

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp:40

final_bearing_deg

double final_bearing_deg{0.0}

True bearing of the path at its end, in [0, 360): the direction of travel on arrival, not the bearing back to the start.

Declared in src/core/include/nmeasim/core/geo/geodesic.hpp:43