MCPcopy Create free account
hub / github.com/Profactor/cv-plot / innerPoint

Method innerPoint

CvPlot/inc/CvPlot/gui/MouseEvent.h:55–59  ·  view source on GitHub ↗

position in inner rect

Source from the content-addressed store, hash-verified

53 }
54 //position in inner rect
55 cv::Point innerPoint()const {
56 auto outer = outerPoint();
57 auto innerRect = projection().innerRect();
58 return cv::Point(outer.x - innerRect.x, outer.y - innerRect.y);
59 }
60 //position in logical coordinates
61 cv::Point2d pos()const {
62 return projection().unproject(innerPoint());

Callers 1

hitTestMethod · 0.80

Calls 1

innerRectMethod · 0.80

Tested by

no test coverage detected