| 1056 | } |
| 1057 | |
| 1058 | PathCoord PathObject::findPathCoordForIndex(MapCoordVector::size_type index) const |
| 1059 | { |
| 1060 | auto part = findPartForIndex(index); |
| 1061 | if (part != end(path_parts)) |
| 1062 | { |
| 1063 | return *(std::lower_bound(begin(part->path_coords), end(part->path_coords), index, PathCoord::indexLessThanValue)); |
| 1064 | } |
| 1065 | return path_parts.front().path_coords.front(); |
| 1066 | } |
| 1067 | |
| 1068 | bool PathObject::isCurveHandle(MapCoordVector::size_type index) const |
| 1069 | { |
no outgoing calls
no test coverage detected