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
8
namespace
vanetza
9
{
10
namespace
facilities
11
{
12
13
extern
const
units::Length cREarthMeridian;
14
15
struct
PathPoint
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
*/
31
units::Length chord_length(
const
PathPoint
&,
const
PathPoint
&);
32
33
}
// namespace facilities
34
}
// namespace vanetza
35
36
#
endif
/* PATH_POINT_HPP_LXQ9YZKI */
vanetza::facilities::PathHistory
Definition
path_history.hpp:18
vanetza::facilities::PathHistory::addSample
void addSample(const PathPoint &)
Definition
path_history.cpp:39
vanetza::facilities::PathHistory::getReferencePoint
const PathPoint & getReferencePoint() const
Definition
path_history.cpp:50
vanetza::facilities::PathHistory::getConcisePoints
const std::list< PathPoint > & getConcisePoints() const
Definition
path_history.hpp:40
vanetza::facilities::PathPoint
Definition
path_point.hpp:16
vanetza
facilities
path_point.hpp
Generated on
for Vanetza by
1.16.1