| 202 | } |
| 203 | |
| 204 | std::vector<Point> Annotation::getLocalBoundingBox() { |
| 205 | Point center = getCenter(); |
| 206 | std::vector<Point> bbox = getImageBoundingBox(); |
| 207 | bbox[0].setX(bbox[0].getX() - center.getX()); |
| 208 | bbox[1].setX(bbox[1].getX() - center.getX()); |
| 209 | bbox[0].setY(bbox[0].getY() - center.getY()); |
| 210 | bbox[1].setY(bbox[1].getY() - center.getY()); |
| 211 | return bbox; |
| 212 | } |
nothing calls this directly
no outgoing calls
no test coverage detected