Public Attributes | List of all members
Ellipse2d Struct Reference

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. More...
 
Vec2d center
 The center of the ellipse. More...
 
float radius_x
 The radius in horizontal direction of the ellipse (horizontal refers to when angle = 0). More...
 
float radius_y
 The radius in vertical direction of the ellipse (vertical refers to when angle = 0). More...
 

Detailed Description

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.

Definition at line 137 of file Structs.h.

Member Data Documentation

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.

Definition at line 161 of file Structs.h.

Vec2d Ellipse2d::center

The center of the ellipse.

Definition at line 142 of file Structs.h.

float Ellipse2d::radius_x

The radius in horizontal direction of the ellipse (horizontal refers to when angle = 0).

Definition at line 147 of file Structs.h.

float Ellipse2d::radius_y

The radius in vertical direction of the ellipse (vertical refers to when angle = 0).

Definition at line 152 of file Structs.h.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28