All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FittingTerrainProjector.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Streaming.h"
7 #include "VectorMath.h"
8 #include "Terrain.h"
9 
10 namespace Eegeo
11 {
12  namespace Routes
13  {
14  namespace Fitting
15  {
17  {
18  private:
19  const Streaming::MortonKey& m_key;
20  const Resources::Terrain::Heights::TerrainHeightProvider& m_terrainHeightProvider;
21  dv3 m_ecefOrigin;
22  public:
24 
25  bool TryGetPositionOnTerrain(const v3& localPosition, v3& out_localPositionOnTerrain) const;
26  };
27  }
28  }
29 }