Remove redundant route method.

This commit is contained in:
Lev Dragunov 2015-11-10 11:16:27 +03:00
parent afa1d62d21
commit 0c18178148
2 changed files with 0 additions and 8 deletions

View file

@ -228,12 +228,6 @@ bool Route::MoveIterator(location::GpsInfo const & info) const
return res.IsValid();
}
double Route::GetCurrentSqDistance(m2::PointD const & pt) const
{
ASSERT(m_poly.IsValid(), ());
return pt.SquareLength(m_poly.GetCurrentIter().m_pt);
}
double Route::GetPolySegAngle(size_t ind) const
{
size_t const polySz = m_poly.GetPolyline().GetSize();

View file

@ -94,8 +94,6 @@ public:
/// @return true If position was updated successfully (projection within gps error radius).
bool MoveIterator(location::GpsInfo const & info) const;
/// Square distance to current projection in mercator.
double GetCurrentSqDistance(m2::PointD const & pt) const;
void MatchLocationToRoute(location::GpsInfo & location, location::RouteMatchingInfo & routeMatchingInfo) const;
bool IsCurrentOnEnd() const;