All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LocalRouteVertexSubdivider.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Routes.h"
6 #include "Types.h"
7 #include <vector>
8 
9 namespace Eegeo
10 {
11  namespace Routes
12  {
14  {
15  public:
16  LocalRouteVertexSubdivider(const Fitting::FittingTerrainProjector& fittingTerrainProjector)
17  : m_fittingTerrainProjector(fittingTerrainProjector)
18  {
19 
20  }
21 
22  void Subdivide(float maxDistBetweenVerts, std::vector<LocalRouteVertex>::const_iterator first, std::vector<LocalRouteVertex>::const_iterator last, std::vector<LocalRouteVertex>& subdividedOutput) const;
23  private:
24  const Fitting::FittingTerrainProjector& m_fittingTerrainProjector;
25  };
26  }
27 }