All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NavGraphRoadFittingInfo.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Navigation.h"
6 #include "Geometry.h"
7 #include "VectorMathDecl.h"
8 #include "SingleSphere.h"
9 
10 namespace Eegeo
11 {
12  namespace Routes
13  {
14  namespace Fitting
15  {
16 
18  {
19  public:
21 
23 
24  const Resources::Roads::Navigation::NavigationGraphRoad& Road() const { return m_road; }
25  const Resources::Roads::Navigation::NavigationGraph& NavGraph() const { return m_navGraph; }
26  const Geometry::Point3Spline& Spline() const { return *m_pPoint3Spline; }
27  const Geometry::SingleSphere& BoundingSphere() const { return m_boundingSphere; }
28  int RoadIndex() const { return m_roadIndex; }
29 
30 
31  private:
34  const Geometry::Point3Spline* m_pPoint3Spline;
35  Geometry::SingleSphere m_boundingSphere;
36  const int m_roadIndex;
37 
38 
39  static Geometry::Point3Spline* CreateNavGraphRoadSpline(const Resources::Roads::Navigation::NavigationGraphRoad& road, const dv3& ecefCellOrigin);
40  };
41 
42  }
43  }
44 }