All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IndoorMapEntityPolygon.h
1 #pragma once
2 
3 #include "IndoorMapEntityInformation.h"
4 #include "Types.h"
5 #include "IndoorMapEntityInformationTypes.h"
6 
7 #include "Interiors.h"
8 
9 #include <string>
10 #include <vector>
11 
12 namespace Eegeo
13 {
14  namespace IndoorMapEntityInformation
15  {
17  {
18 
19  public:
20  static const IndoorMapEntityPolygon Create(const std::string& id, const Resources::Interiors::InteriorsFloorCellEntityPolygonContainer& container);
21  static const IndoorMapEntityPolygon CreateEmpty();
22 
23  const int GetNumberOfContours() const { return m_numContours; }
24  const std::vector<int>& GetLatLngsForContour() const { return m_latLngsForContour; }
25  const std::vector<double>& GetLatLngsDegrees() const { return m_latLngsDegrees; }
26 
27  private:
28  IndoorMapEntityPolygon( const int numContours, const std::vector<int>& latLngsForContour, const std::vector<double>& latLngsDegrees);
29 
30  const int m_numContours;
31  const std::vector<int> m_latLngsForContour;
32  const std::vector<double> m_latLngsDegrees;
33  };
34  }
35 }