MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / findPartForIndex

Method findPartForIndex

src/core/objects/object.cpp:1036–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034}
1035
1036PathPartVector::const_iterator PathObject::findPartForIndex(MapCoordVector::size_type coords_index) const
1037{
1038 return std::lower_bound(begin(path_parts), end(path_parts), coords_index, PathPartVector::compareEndIndex);
1039}
1040
1041PathPartVector::iterator PathObject::findPartForIndex(MapCoordVector::size_type coords_index)
1042{

Callers 9

snapToDirectionMethod · 0.80
clickPressMethod · 0.80
dragStartMethod · 0.80
updateHoverStateMethod · 0.80
calculateConstraintsMethod · 0.80
setClosedMethod · 0.80
PathObjectMethod · 0.80
assignCoordinatesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected