Vanetza
 
Loading...
Searching...
No Matches
path_point.hpp
1#ifndef PATH_POINT_HPP_LXQ9YZKI
2#define PATH_POINT_HPP_LXQ9YZKI
3
4#include <vanetza/units/angle.hpp>
5#include <vanetza/units/length.hpp>
6#include <boost/date_time/posix_time/posix_time.hpp>
7
8namespace vanetza
9{
10namespace facilities
11{
12
13extern const units::Length cREarthMeridian;
14
16{
17 PathPoint();
18
19 units::GeoAngle latitude;
20 units::GeoAngle longitude;
21 units::Angle heading;
22 boost::posix_time::ptime time;
23};
24
25/**
26 * Calculate chord length between two points
27 * \param path point A
28 * \param path point B
29 * \return chord length
30 */
31units::Length chord_length(const PathPoint&, const PathPoint&);
32
33} // namespace facilities
34} // namespace vanetza
35
36#endif /* PATH_POINT_HPP_LXQ9YZKI */
37