All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PolygonShapeCreateParams.h
1 #pragma once
2 
3 #include "PolygonShapes.h"
4 #include "ShapeCreateParamsBase.h"
5 
6 
7 namespace Eegeo
8 {
9  namespace Shapes
10  {
11  namespace Polygons
12  {
14  {
15  public:
17 
18  PolygonShapeCreateParams(Eegeo::Positioning::ElevationMode::Type elevationMode,
19  double elevation,
20  const Eegeo::Resources::Interiors::InteriorId& indoorMapId,
21  int indoorMapFloorId,
22  const std::vector<Space::LatLong>& outerRing,
23  const std::vector<std::vector<Space::LatLong> >& innerRings,
24  const v4& fillColor);
25 
26  const std::vector<Space::LatLong>& GetOuterRing() const { return m_outerRing; }
27  const std::vector<std::vector<Space::LatLong> >& GetInnerRings() const { return m_innerRings; }
28  const v4& GetFillColor() const { return m_fillColor; }
29  private:
30  std::vector<Space::LatLong> m_outerRing;
31  std::vector<std::vector<Space::LatLong> > m_innerRings;
32  v4 m_fillColor;
33  };
34 
35  }
36  }
37 }