Cv2RotatedRectangleIntersection Method |
Name | Description | |
---|---|---|
RotatedRectangleIntersection(RotatedRect, RotatedRect, OutputArray) |
Finds out if there is any intersection between two rotated rectangles.
If there is then the vertices of the interesecting region are returned as well.
Below are some examples of intersection configurations.
The hatched pattern indicates the intersecting region and the red
vertices are returned by the function.
| |
RotatedRectangleIntersection(RotatedRect, RotatedRect, Point2f) |
Finds out if there is any intersection between two rotated rectangles.
If there is then the vertices of the interesecting region are returned as well.
Below are some examples of intersection configurations.
The hatched pattern indicates the intersecting region and the red
vertices are returned by the function.
|