Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Check if a Point is indie a RotatedRect ?

Does RotatedRect has some method like Rect.contains()?

I have a Point

  Point2f(15,20);

and a RotatedRect

  RotatedRect(center,size,angle);

Without having to rotate the point, does OpenCV has some method?

Check if a Point is indie inside a RotatedRect ?

Does RotatedRect has some method like Rect.contains()?

I have a Point

  Point2f(15,20);

and a RotatedRect

  RotatedRect(center,size,angle);

Without having to rotate the point, does OpenCV has some method?