Vanetza
Loading...
Searching...
No Matches
geographiclib.hpp
1
#
pragma
once
2
3
#
include
<
vanetza
/
geodesy
/
position
.
hpp
>
4
5
namespace
vanetza
6
{
7
namespace
geodesy
8
{
9
namespace
geographiclib
10
{
11
12
/**
13
* Get distance between two geodetic positions on WGS84 ellipsoid using GeographicLib.
14
* \param a first position
15
* \param b second position
16
* \return distance in meters (always positive) or NaN for invalid input
17
*/
18
units::Length distance(
const
GeodeticPosition
& a,
const
GeodeticPosition
& b);
19
20
/**
21
* Derive cartesian position ENU from geodetic WGS84 coordinates using GeographicLib.
22
* Uses proper ellipsoidal LocalCartesian projection.
23
* \param origin WGS84 reference point becoming origin
24
* \param position Calculate cartesian coordinates for this point
25
* \return Cartesian coordinates of position relative to origin
26
*/
27
CartesianPosition
local_cartesian(
28
const
GeodeticPosition
& origin,
29
const
GeodeticPosition
& position);
30
31
}
// namespace geographiclib
32
}
// namespace geodesy
33
}
// namespace vanetza
vanetza::geodesy::CartesianPosition
Definition
position.hpp:16
vanetza::geodesy::GeodeticPosition
Definition
position.hpp:26
vanetza
geodesy
geographiclib.hpp
Generated on
for Vanetza by
1.18.0