Fixed typo in description of Rect operations
authorAlexander Karsakov <alexander.karsakov@itseez.com>
Wed, 3 Dec 2014 13:01:03 +0000 (16:01 +0300)
committerAlexander Karsakov <alexander.karsakov@itseez.com>
Wed, 3 Dec 2014 13:01:03 +0000 (16:01 +0300)
modules/core/doc/basic_structures.rst
modules/core/include/opencv2/core/types.hpp

index 048ee7e..db4e015 100644 (file)
@@ -285,7 +285,7 @@ In addition to the class members, the following operations on rectangles are imp
 
 * ``rect = rect1 & rect2``     (rectangle intersection)
 
-* ``rect = rect1 | rect2``     (minimum area rectangle containing ``rect2``     and ``rect3``     )
+* ``rect = rect1 | rect2``     (minimum area rectangle containing ``rect1``     and ``rect2``     )
 
 * ``rect &= rect1, rect |= rect1``     (and the corresponding augmenting operations)
 
index 2ea9f0d..e166556 100644 (file)
@@ -356,7 +356,7 @@ In addition to the class members, the following operations on rectangles are imp
     certain amount)
 -   rect += point, rect -= point, rect += size, rect -= size (augmenting operations)
 -   rect = rect1 & rect2 (rectangle intersection)
--   rect = rect1 | rect2 (minimum area rectangle containing rect2 and rect3 )
+-   rect = rect1 | rect2 (minimum area rectangle containing rect1 and rect2 )
 -   rect &= rect1, rect |= rect1 (and the corresponding augmenting operations)
 -   rect == rect1, rect != rect1 (rectangle comparison)