Fixed typo in description of Rect operations

This commit is contained in:
Alexander Karsakov 2014-12-03 16:01:03 +03:00
parent be5c910358
commit bcca34bc96
2 changed files with 2 additions and 2 deletions

View 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`` (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`` (and the corresponding augmenting operations)

View File

@ -356,7 +356,7 @@ In addition to the class members, the following operations on rectangles are imp
certain amount) certain amount)
- rect += point, rect -= point, rect += size, rect -= size (augmenting operations) - rect += point, rect -= point, rect += size, rect -= size (augmenting operations)
- rect = rect1 & rect2 (rectangle intersection) - 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 (and the corresponding augmenting operations)
- rect == rect1, rect != rect1 (rectangle comparison) - rect == rect1, rect != rect1 (rectangle comparison)