| 315 | return{ std::cos(p.x)*p.y,std::sin(p.x)*p.y }; |
| 316 | } |
| 317 | cv::Point2d untransform(const cv::Point2d &p)const override { |
| 318 | return{ std::atan2(p.y, p.x), std::sqrt(p.x *p.x + p.y*p.y) }; |
| 319 | } |
| 320 | cv::Rect2d transformBoundingRect(const cv::Rect2d &r)const override{ |
| 321 | double radius = r.y + r.height; |
| 322 | return cv::Rect2d(-radius, -radius, 2 * radius, 2 * radius); |
nothing calls this directly
no outgoing calls
no test coverage detected