IVT
Rectangle2d Struct Reference

Data structure for the representation of a 2D rectangle. More...

#include <Structs.h>

Public Attributes

Vec2d center
 The center of the rectangle. More...
 
float width
 The width of the rectangle. More...
 
float height
 The height of the rectangle. More...
 
float angle
 The angle of the rectangle. More...
 

Detailed Description

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.

Definition at line 89 of file Structs.h.

Member Data Documentation

float Rectangle2d::angle

The angle of the rectangle.

Definition at line 109 of file Structs.h.

Vec2d Rectangle2d::center

The center of the rectangle.

Definition at line 94 of file Structs.h.

float Rectangle2d::height

The height of the rectangle.

Definition at line 104 of file Structs.h.

float Rectangle2d::width

The width of the rectangle.

Definition at line 99 of file Structs.h.


The documentation for this struct was generated from the following file: