Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Melnichek <melnichek@gmail.com>2011-01-30 20:14:53 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:11:17 +0300
commit9e0e68b981b303f036e1f416cb7b82b8fa8117f6 (patch)
treed6735974c1910cd44b7d14378f872a0f8cb5a614 /indexer/geometry_coding.cpp
parente3ea9112672f568e5a65934c7c2ead72e47d48c5 (diff)
Remove old predictors, which were commented out.
Diffstat (limited to 'indexer/geometry_coding.cpp')
-rw-r--r--indexer/geometry_coding.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/indexer/geometry_coding.cpp b/indexer/geometry_coding.cpp
index f295b7d952..f5dac67a90 100644
--- a/indexer/geometry_coding.cpp
+++ b/indexer/geometry_coding.cpp
@@ -74,24 +74,6 @@ m2::PointU PredictPointInPolyline(m2::PointU const & maxPoint,
complex<double> const c0 = (c01 + c02) * complex<double>(0.5, 0.0);
*/
- /*
- complex<double> const c1(p1.x, p1.y);
- complex<double> const c2(p2.x, p2.y);
- complex<double> const c3(p3.x, p3.y);
- complex<double> d = (c1 - c2) / (c2 - c3);
- d /= abs(d);
- complex<double> const c0 = c1 + (c1 - c2) * d * complex<double>(0.5, 0.0);
- */
-
- /*
- // In complex numbers:
- // Ci = Ci-1 + (Ci-1 - Ci-2) * (Ci-1 - Ci-2) / (Ci-2 - Ci-3)
- complex<double> const c1(p1.x, p1.y);
- complex<double> const c2(p2.x, p2.y);
- complex<double> const c3(p3.x, p3.y);
- complex<double> const c0 = c1 + (c1 - c2) * (c1 - c2) / (c2 - c3);
- */
-
return ClampPoint(maxPoint, m2::PointD(c0.real(), c0.imag()));
}