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

Method addPoint

src/core/objects/object_mover.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62void ObjectMover::addPoint(PathObject* object, MapCoordVector::size_type point_index)
63{
64 Q_ASSERT(point_index < object->getCoordinateCount());
65
66 auto index_set = insertPointObject(object);
67 index_set->insert(point_index);
68
69 constraints_calculated = false;
70}
71
72
73void ObjectMover::addLine(PathObject* object, MapCoordVector::size_type start_point_index)

Callers 2

startEditingSetupMethod · 0.45

Calls 2

getCoordinateCountMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected