MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / removeCoordinate

Method removeCoordinate

annotation/Annotation.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void Annotation::removeCoordinate(const int& index) {
92 if (index < 0) {
93 _coordinates.erase(_coordinates.end() - abs(index));
94 }
95 else {
96 _coordinates.erase(_coordinates.begin() + index);
97 }
98 _modified = true;
99}
100
101Point Annotation::getCoordinate(const int& index) const
102{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected