| 99 | } |
| 100 | |
| 101 | Point Annotation::getCoordinate(const int& index) const |
| 102 | { |
| 103 | if (index < 0) { |
| 104 | return *(_coordinates.end() - abs(index)); |
| 105 | } |
| 106 | else { |
| 107 | return *(_coordinates.begin() + index); |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | std::vector<Point> Annotation::getCoordinates() const |
| 112 | { |
no outgoing calls
no test coverage detected