forked from organicmaps/organicmaps
Remove redundant route method.
This commit is contained in:
parent
afa1d62d21
commit
0c18178148
2 changed files with 0 additions and 8 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue