CalculatePolyLineCenter -------------------------------------------------------------------------
| 7 | { |
| 8 | // CalculatePolyLineCenter ------------------------------------------------------------------------- |
| 9 | void CalculatePolyLineCenter::operator()(m2::PointD const & pt) |
| 10 | { |
| 11 | m_length += (m_poly.empty() ? 0.0 : m_poly.back().m_p.Length(pt)); |
| 12 | m_poly.emplace_back(pt, m_length); |
| 13 | } |
| 14 | |
| 15 | PointD CalculatePolyLineCenter::GetResult() const |
| 16 | { |
nothing calls this directly
no test coverage detected