EQuadrangle Class

This class represents a polygon with four corners (with sub-pixel accuracy).

Remarks

A quadrangle especially arises when representing the corners of a rotated bounding box.

Namespace: Euresys::Open_eVision

Methods

Draws the quadrangle, by drawing lines between its corners.
Draws the quadrangle, by drawing lines between its corners.
Constructs a EQuadrangle. The default constructor initializes all points to 0.
Returns the area of the quadrangle.
Returns the angle of a given corner of the quadrangle.
The corners of the EQuadrangle.
Returns the gravity center of the quadrangle.
Returns the perimeter of the quadrangle.
Returns the coordinate of a given corner of the quadrangle.
Returns the angle of a given side of the quadrangle.
Returns the length of a given side of the quadrangle.
Returns the coordinates of the upper left corner of the quadrangle (the position with the minimum Y and then minimum X).
Tests if a point is inside the quadrangle.
Tests if a quadrangle is inside the quadrangle.
Assignment operator.
Tests if the quadrangles overlap.
Sets the coordinates of a given corner of the quadrangle.

EQuadrangle Class

This class represents a polygon with four corners (with sub-pixel accuracy).

Remarks

A quadrangle especially arises when representing the corners of a rotated bounding box.

Namespace: Euresys.Open_eVision

Properties

Returns the area of the quadrangle.
The corners of the EQuadrangle.
Returns the gravity center of the quadrangle.
Returns the perimeter of the quadrangle.
Returns the coordinates of the upper left corner of the quadrangle (the position with the minimum Y and then minimum X).

Methods

Draws the quadrangle, by drawing lines between its corners.
Draws the quadrangle, by drawing lines between its corners.
Constructs a EQuadrangle. The default constructor initializes all points to 0.
Returns the angle of a given corner of the quadrangle.
Returns the coordinate of a given corner of the quadrangle.
Returns the angle of a given side of the quadrangle.
Returns the length of a given side of the quadrangle.
Tests if a point is inside the quadrangle.
Tests if a quadrangle is inside the quadrangle.
Assignment operator.
Tests if the quadrangles overlap.
Sets the coordinates of a given corner of the quadrangle.