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

Method apply

src/tools/cutout_tool.cpp:188–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188void CutoutTool::apply(Map* map, PathObject* cutout_object, bool cut_away)
189{
190 CutoutOperation operation(map, cutout_object, cut_away);
191 map->getCurrentPart()->applyOnAllObjects(std::ref(operation));
192 operation.commit();
193}
194
195
196} // namespace OpenOrienteering

Callers

nothing calls this directly

Calls 3

getCurrentPartMethod · 0.80
commitMethod · 0.80
applyOnAllObjectsMethod · 0.45

Tested by

no test coverage detected