diff options
author | vng <viktor.govako@gmail.com> | 2016-01-21 19:11:11 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:14:23 +0300 |
commit | 3ba3f523d53f5def3f715c04417ca1098a03283c (patch) | |
tree | 852877db7bab6cd69f05ace97f7745fb6c030d6b /geometry | |
parent | 5d2b838aa1d98c62b530a074db35007f788cd350 (diff) |
[search] Removed useless vector of points in ProjectionOnStreetCalculator.
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/distance.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/geometry/distance.hpp b/geometry/distance.hpp index 5b53aa0313..ec520e037f 100644 --- a/geometry/distance.hpp +++ b/geometry/distance.hpp @@ -37,7 +37,9 @@ public: } } - double GetLength() const { return m_D2; } + inline double GetLength() const { return m_D2; } + inline PointT const & P0() const { return m_P0; } + inline PointT const & P1() const { return m_P1; } protected: template <class VectorT> static double SquareLength(VectorT const & v) |