diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-01-30 20:14:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:17 +0300 |
commit | 9e0e68b981b303f036e1f416cb7b82b8fa8117f6 (patch) | |
tree | d6735974c1910cd44b7d14378f872a0f8cb5a614 /indexer/geometry_coding.cpp | |
parent | e3ea9112672f568e5a65934c7c2ead72e47d48c5 (diff) |
Remove old predictors, which were commented out.
Diffstat (limited to 'indexer/geometry_coding.cpp')
-rw-r--r-- | indexer/geometry_coding.cpp | 18 |
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())); } |