All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RouteData.h
1 #pragma once
2 
3 #include "LatLongAltitude.h"
4 #include <string>
5 #include <vector>
6 
7 
8 namespace Eegeo
9 {
10  namespace Routes
11  {
12  namespace Webservice
13  {
15  {
16  Space::LatLong Location;
17  std::string Type;
18  std::string Modifier;
19  double BearingBefore;
20  double BearingAfter;
21  };
22 
23  enum class TransportationMode
24  {
25  Walking,
26  Driving
27  };
28 
29  struct RouteStep
30  {
31  std::vector<Space::LatLong> Path;
32  TransportationMode Mode;
33  std::string IndoorId;
34  std::string Name;
35  RouteDirections Directions;
36  double Duration;
37  double Distance;
38  int IndoorFloorId;
39  bool IsIndoors;
40  bool IsMultiFloor;
41  };
42 
43  struct RouteSection
44  {
45  std::vector<RouteStep> Steps;
46  double Duration;
47  double Distance;
48  };
49 
50  struct RouteData
51  {
52  std::vector<RouteSection> Sections;
53  double Duration;
54  double Distance;
55  };
56  }
57  }
58 }
59