Data structure for the representation of a 2D rectangle. More...
#include <Structs.h>
Public Attributes | |
float | angle |
The angle of the rectangle. | |
Vec2d | center |
The center of the rectangle. | |
float | height |
The height of the rectangle. | |
float | width |
The width of the rectangle. |
Data structure for the representation of a 2D rectangle.
The function PrimitivesDrawer::DrawRectangle draws a circle, given its specification in this struct. Other functions (e.g. detectors) can use this struct as well.
float Rectangle2d::angle |
float Rectangle2d::height |
float Rectangle2d::width |