Data structure for the representation of a 2D ellipse. More...
#include <Structs.h>
Public Attributes | |
float | angle |
The rotiation angle of the ellipse, given in radians. | |
Vec2d | center |
The center of the ellipse. | |
float | radius_x |
The radius in horizontal direction of the ellipse (horizontal refers to when angle = 0). | |
float | radius_y |
The radius in vertical direction of the ellipse (vertical refers to when angle = 0). |
Data structure for the representation of a 2D ellipse.
The function PrimitivesDrawer::DrawEllipse draws an ellipse, given its specification in this struct. Other functions (e.g. detectors) can use this struct as well.
float Ellipse2d::angle |
The rotiation angle of the ellipse, given in radians.
Note that a positive angle will rotate the ellipse clockwise, as the y-axis of the image coordinate system is oriented downward. In the IVt, the rotation angles are consistent for all algorithms/functions that involve rotations.
float Ellipse2d::radius_x |
float Ellipse2d::radius_y |