cv.RotatedRect - MATLAB File Help | Go to online doc for cv.RotatedRect |
The class represents rotated (i.e. not up-right) rectangles on a plane
Each rectangle is specified by the center point (mass center), length of
each side (represented by [width,height]
) and the rotation angle in
degrees.
The sample RotatedRect_demo.m
demonstrates how to use RotatedRect.
Sealed | false |
Construct on load | false |
RotatedRect | The class represents rotated (i.e. not up-right) rectangles on a plane |
Static | boundingRect | Returns the minimal up-right integer rectangle containing the rotated rectangle |
Static | boundingRect2f | BOUNDINGRECT returns the minimal (exact) floating point rectangle containing the rotated rectangle |
Static | from3points | Create a rotated rectangle from 3 points |
Static | points | Returns 4 vertices of the rectangle |