mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #7754 from LAZI-2240:toupstream2.4
Introducing boundingRect2f() (#7754) * Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect * Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect * Introducing boundingRect2f() - update * Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect * Introducing boundingRect2f() - update - tested
This commit is contained in:
committed by
Alexander Alekhin
parent
7be4a0ee2f
commit
ffcf866e2f
@@ -910,8 +910,10 @@ public:
|
||||
|
||||
//! returns 4 vertices of the rectangle
|
||||
void points(Point2f pts[]) const;
|
||||
//! returns the minimal up-right rectangle containing the rotated rectangle
|
||||
//! returns the minimal up-right integer rectangle containing the rotated rectangle
|
||||
Rect boundingRect() const;
|
||||
//! returns the minimal (exact) floating point rectangle containing the rotated rectangle, not intended for use with images
|
||||
Rect_<float> boundingRect2f() const;
|
||||
//! conversion to the old-style CvBox2D structure
|
||||
operator CvBox2D() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user