diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-07-22 10:56:39 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-07-23 21:40:49 +0300 |
commit | 9879d1808a7da38006d9067089215dec75d7aa6c (patch) | |
tree | 2c4d7da2ad1a4d0f2a5ee717df778fff85f81831 /indexer/feature_altitude.hpp | |
parent | 5d4ee21e4a716530886f6478080a832dca877b75 (diff) |
Review fixes.
Diffstat (limited to 'indexer/feature_altitude.hpp')
-rw-r--r-- | indexer/feature_altitude.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/indexer/feature_altitude.hpp b/indexer/feature_altitude.hpp index 52f1032f53..8cb8502501 100644 --- a/indexer/feature_altitude.hpp +++ b/indexer/feature_altitude.hpp @@ -11,13 +11,14 @@ namespace feature { using TAltitude = int16_t; using TAltitudes = vector<feature::TAltitude>; -using TAltitudeSectionVersion = uint16_t; using TAltitudeSectionOffset = uint32_t; TAltitude constexpr kInvalidAltitude = numeric_limits<TAltitude>::min(); struct AltitudeHeader { + using TAltitudeSectionVersion = uint16_t; + AltitudeHeader() { Reset(); @@ -109,10 +110,10 @@ public: private: /// \note |m_altitudes| is a vector of feature point altitudes. There's two posibilities: - /// * |m_altitudes| is empty. It means no altitude information defines. - /// * size of |m_altitudes| is equal to feature point number. In that case every item of - /// |m_altitudes| defines altitude in meters for every feature point. If altitude is not defined - /// for some feature point corresponding vector items are equel to |kInvalidAltitude| + /// * |m_altitudes| is empty. It means there is no altitude information for this feature. + /// * size of |m_pointAlt| is equal to the number of this feature's points. + /// In this case the i'th element of |m_pointAlt| corresponds to the altitude of the + /// i'th point of the feature and is set to kInvalidAltitude when there is no information about the point. TAltitudes m_altitudes; }; } // namespace feature |