RotatedRect Structure OpenCvSharp Class Library

[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

public struct RotatedRect

The RotatedRect type exposes the following members.

Constructors

  NameDescription
Public methodRotatedRect(CvBox2D)
Initializes a new instance of the RotatedRect class
Public methodRotatedRect(Point2f, Size2f, Single)
Initializes a new instance of the RotatedRect class
Top
Methods

  NameDescription
Public methodBoundingRect
returns the minimal up-right rectangle containing the rotated rectangle
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodPoints
returns 4 vertices of the rectangle
Public methodToString (Inherited from ValueType.)
Top
Operators

  NameDescription
Public operatorStatic member(CvBox2D to RotatedRect)
conversion to the old-style CvBox2D structure
Public operatorStatic member(RotatedRect to CvBox2D)
conversion to the old-style CvBox2D structure
Top
Fields

  NameDescription
Public fieldAngle
the rotation angle. When the angle is 0, 90, 180, 270 etc., the rectangle becomes an up-right rectangle.
Public fieldCenter
the rectangle mass center
Public fieldSize
width and height of the rectangle
Top
See Also

Reference