All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TransportPathfindOptions.h
1 #pragma once
2 
3 #include "Transport.h"
4 #include "TransportDirectedEdgeId.h"
5 
6 namespace Eegeo
7 {
8  namespace Transport
9  {
11  {
13  const TransportDirectedEdgeId& directedEdgeIdA,
14  const TransportDirectedEdgeId& directedEdgeIdB,
15  double parameterizedPointOnEdgeA,
16  double parameterizedPointOnEdgeB,
17  bool uTurnAllowedAtA,
18  bool uTurnAllowedAtB
19  );
20 
21  const TransportDirectedEdgeId& GetDirectedEdgeIdA() const { return m_directedEdgeIdA; }
22  const TransportDirectedEdgeId& GetDirectedEdgeIdB() const { return m_directedEdgeIdB; }
23  double GetParameterizedPointOnEdgeA() const { return m_parameterizedPointOnEdgeA; }
24  double GetParameterizedPointOnEdgeB() const { return m_parameterizedPointOnEdgeB; }
25  bool IsUTurnAllowedAtA() const { return m_uTurnAllowedAtA; }
26  bool IsUTurnAllowedAtB() const { return m_uTurnAllowedAtB; }
27 
28  private:
29  TransportDirectedEdgeId m_directedEdgeIdA;
30  TransportDirectedEdgeId m_directedEdgeIdB;
31  double m_parameterizedPointOnEdgeA;
32  double m_parameterizedPointOnEdgeB;
33  bool m_uTurnAllowedAtA;
34  bool m_uTurnAllowedAtB;
35 
36  };
37  }
38 }