[Missing <summary> documentation for "T:OpenCvSharp.CPlusPlus.RotatedRect"]
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The RotatedRect type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RotatedRect(CvBox2D) | Initializes a new instance of the RotatedRect class | |
| RotatedRect(Point2f, Size2f, Single) | Initializes a new instance of the RotatedRect class |
Methods
| Name | Description | |
|---|---|---|
| BoundingRect |
returns the minimal up-right rectangle containing the rotated rectangle
| |
| Equals | (Inherited from ValueType.) | |
| GetHashCode | (Inherited from ValueType.) | |
| GetType | (Inherited from Object.) | |
| Points |
returns 4 vertices of the rectangle
| |
| ToString | (Inherited from ValueType.) |
Operators
| Name | Description | |
|---|---|---|
| (CvBox2D to RotatedRect) |
conversion to the old-style CvBox2D structure
| |
| (RotatedRect to CvBox2D) |
conversion to the old-style CvBox2D structure
|
Fields
| Name | Description | |
|---|---|---|
| Angle |
the rotation angle. When the angle is 0, 90, 180, 270 etc., the rectangle becomes an up-right rectangle.
| |
| Center |
the rectangle mass center
| |
| Size |
width and height of the rectangle
|
See Also