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

Method outerToInner

CvPlot/inc/CvPlot/core/Projection.h:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 return _rawProjection.innerRect;
24 }
25 cv::Point2d outerToInner(cv::Point2d outer) const{
26 return cv::Point2d(outer.x - _rawProjection.innerRect.x, outer.y - _rawProjection.innerRect.y);
27 }
28 cv::Point2d innerToOuter(cv::Point2d inner) const {
29 return cv::Point2d(inner.x + _rawProjection.innerRect.x, inner.y + _rawProjection.innerRect.y);
30 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected