Skip to content

SaigeRotatedBox

  • #include <SaigeVisionAPI.h>

Structure containing information about a rotatable rectangle.

Public Attributes

Type Name
double[ ] center
Coordinates of the center of the rectangle in the form {x, y}.
double[ ] points
Every vertex point of the rectangle from Top-Left point before rotation (clockwise). {x1, y1, x2, y2, x3, y3, x4, y4}
double width
width of the rectangle.
double height
height of the rectangle.
double angle
rotated angle of the rectangle in degree (clockwise).

Public Attributes Documentation

center

Coordinates of the center of the rectangle in the form {x, y}.

double[] center;

points

Every vertex point of the rectangle from Top-Left point before rotation (clockwise). {x1, y1, x2, y2, x3, y3, x4, y4}

double[] points;

width

width of the rectangle.

double width;

height

height of the rectangle.

double height;

angle

rotated angle of the rectangle in degree (clockwise).

double angle;