All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TiledGraphPathfinderResult.h
1 #pragma once
2 
3 #include "Graphs.h"
4 #include "TiledGraphEdge.h"
5 
6 #include <vector>
7 
8 namespace Eegeo
9 {
10  namespace Graphs
11  {
13  {
15  : Succeeded(false)
16  , FirstEdgeParam(0.f)
17  , LastEdgeParam(0.f)
18  , DistanceMeters(0.f)
19  {}
20 
22  bool succeeded,
23  const std::vector<TiledGraphEdgeId>& pathEdgeIds,
24  float firstEdgeParam,
25  float lastEdgeParam,
26  float distanceMeters)
27  : Succeeded(succeeded)
28  , PathEdgeIds(pathEdgeIds)
29  , FirstEdgeParam(firstEdgeParam)
30  , LastEdgeParam(lastEdgeParam)
31  , DistanceMeters(distanceMeters)
32  {
33  }
34 
35  bool Succeeded;
36  std::vector<TiledGraphEdgeId> PathEdgeIds;
37  float FirstEdgeParam;
38  float LastEdgeParam;
39  float DistanceMeters;
40  };
41  }
42 }