| 65 | {} |
| 66 | |
| 67 | void operator()(UserMark const * mark) |
| 68 | { |
| 69 | m2::PointD const & org = mark->GetPivot(); |
| 70 | if (m_rect.IsPointInside(org)) |
| 71 | { |
| 72 | double const minDCandidate = m_globalCenter.SquaredLength(org); |
| 73 | if (minDCandidate < m_minD) |
| 74 | { |
| 75 | *m_mark = mark; |
| 76 | m_minD = minDCandidate; |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | UserMark const ** m_mark; |
| 82 | double & m_minD; |
nothing calls this directly
no test coverage detected