3 #include "EegeoShapes.h"
5 #include "LatLongAltitude.h"
6 #include "PositioningTypes.h"
15 template <
typename TBuilder,
typename TShapeCreateParams>
19 typedef TBuilder BuilderType;
20 typedef TShapeCreateParams ShapeCreateParamsType;
23 : m_elevationMode(Eegeo::Positioning::ElevationMode::HeightAboveGround)
25 , m_indoorMapFloorId(0)
30 BuilderType& SetElevationMode(Eegeo::Positioning::ElevationMode::Type elevationMode)
32 m_elevationMode = elevationMode;
33 return *
static_cast<BuilderType*
>(
this);
36 BuilderType& SetElevation(
double elevation)
38 m_elevation = elevation;
39 return *
static_cast<BuilderType*
>(
this);
42 BuilderType& SetIndoorMap(
const std::string& indoorMapId,
int indoorMapFloorId)
44 m_indoorMapId = indoorMapId;
45 m_indoorMapFloorId = indoorMapFloorId;
46 return *
static_cast<BuilderType*
>(
this);
50 Eegeo::Positioning::ElevationMode::Type m_elevationMode;
52 std::string m_indoorMapId;
53 int m_indoorMapFloorId;