| 2506 | } |
| 2507 | |
| 2508 | bool PathObject::isPointInsideArea(const MapCoordF& coord) const |
| 2509 | { |
| 2510 | update(); |
| 2511 | bool inside = false; |
| 2512 | for (const auto& part : path_parts) |
| 2513 | { |
| 2514 | if (part.isPointInside(coord)) |
| 2515 | inside = !inside; |
| 2516 | } |
| 2517 | return inside; |
| 2518 | } |
| 2519 | |
| 2520 | double PathObject::calcMaximumDistanceTo( |
| 2521 | MapCoordVector::size_type start_index, |
no test coverage detected