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

Method appendPath

src/core/objects/object.cpp:2070–2077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2068}
2069
2070void PathObject::appendPath(const PathObject* other)
2071{
2072 coords.reserve(coords.size() + other->coords.size());
2073 coords.insert(coords.end(), other->coords.begin(), other->coords.end());
2074
2075 recalculateParts();
2076 setOutputDirty();
2077}
2078
2079void PathObject::appendPathPart(const PathPart &part)
2080{

Callers 1

fillBoundaryMethod · 0.80

Calls 4

sizeMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected