5 #include "Positioning.h"
6 #include "VectorMath.h"
7 #include "TransportPositionerTypes.h"
9 #include "TransportPositionerPointOnGraph.h"
10 #include "Transport.h"
22 TransportPositionerId modelId,
23 double inputLatitudeDegrees,
24 double inputLongitudeDegrees,
25 double inputAltitudeInMetres,
26 Positioning::ElevationMode::Type elevationMode,
28 double inputHeadingDegrees,
29 double maxDistanceToMatchedPoint,
30 double maxHeadingDeviationToMatchedPoint,
31 double maxDistanceForPossibleHeadingMatch,
32 TransportNetwork::Type transportNetworkType,
36 TransportPositionerId GetId()
const {
return m_modelId; }
38 double GetInputLatitudeDegrees()
const {
return m_inputLatitudeDegrees; }
39 double GetInputLongitudeDegrees()
const {
return m_inputLongitudeDegrees; }
40 double GetInputAltitudeInMetres()
const {
return m_inputAltitudeInMetres; }
41 Positioning::ElevationMode::Type GetElevationMode()
const {
return m_elevationMode; }
42 bool GetInputHasHeading()
const {
return m_inputHasHeading; }
43 double GetInputHeadingDegrees()
const {
return m_inputHeadingDegrees; }
44 double GetMaxDistanceToMatchedPoint()
const {
return m_maxDistanceToMatchedPoint; }
45 double GetMaxHeadingDeviationToMatchedPoint()
const {
return m_maxHeadingDeviationToMatchedPoint; }
46 double GetMaxDistanceForPossibleHeadingMatch()
const {
return m_maxDistanceForPossibleHeadingMatch; }
47 TransportNetwork::Type GetTransportNetworkType()
const {
return m_transportNetworkType; }
49 bool IsMatched()
const {
return m_pointOnGraph.IsMatched(); }
52 void SetInputPosition(
double inputLatitudeDegrees,
double inputLongitudeDegrees);
53 void SetInputHeading(
double inputHeadingDegrees);
54 void ClearInputHeading();
59 TransportPositionerId m_modelId;
60 double m_inputLatitudeDegrees;
61 double m_inputLongitudeDegrees;
62 double m_inputAltitudeInMetres;
63 Positioning::ElevationMode::Type m_elevationMode;
64 bool m_inputHasHeading;
65 double m_inputHeadingDegrees;
66 double m_maxDistanceToMatchedPoint;
67 double m_maxHeadingDeviationToMatchedPoint;
68 double m_maxDistanceForPossibleHeadingMatch;
70 TransportNetwork::Type m_transportNetworkType;