Merge pull request #2358 from rohitgirdhar:rotatedRect

This commit is contained in:
Roman Donchenko
2014-02-25 17:43:48 +04:00
committed by OpenCV Buildbot
4 changed files with 137 additions and 0 deletions

View File

@@ -392,6 +392,7 @@ public:
//! various constructors
RotatedRect();
RotatedRect(const Point2f& center, const Size2f& size, float angle);
RotatedRect(const Point2f& point1, const Point2f& point2, const Point2f& point3);
//! returns 4 vertices of the rectangle
void points(Point2f pts[]) const;