Fawkes API
Fawkes Development Version
|
This class implements the test field in Graz, Austria at the CityTower. More...
#include <firevision/apps/nao_loc/field_lines.cpp/field_lines.h>
Public Member Functions | |
FieldLinesCityTowerSeminar (float length, float width) | |
Constructor. More... | |
![]() | |
virtual | ~FieldLines () |
Destructor. More... | |
float | get_line_width () const |
Line width getter. More... | |
float | get_field_length () const |
Field length getter. More... | |
float | get_field_width () const |
Field width getter. More... | |
fawkes::cart_coord_2d_t | get_field_offsets () const |
Offset getter. More... | |
const field_circles_t & | get_circles () const |
Get circles. More... | |
const std::string & | get_name () const |
Returns the field name. More... | |
Additional Inherited Members | |
![]() | |
FieldLines (std::string field_name, float field_length, float field_width, float line_width) | |
Creates a new FieldLines container. More... | |
void | calc_offsets () |
Calculates the field's offsets. More... | |
![]() | |
std::string | _field_name |
The name of the field. More... | |
float | _line_width |
The width of the field lines. More... | |
float | _field_length |
The total length of the field (actually of the field lines) More... | |
float | _field_width |
The total width of the field (actually of the field lines) More... | |
fawkes::cart_coord_2d_t | _field_offsets |
The center offset (used to draw unsymmetrically fields - usually zero) More... | |
field_circles_t | _field_circles |
A std::list of arcs and/or circles on the field. More... | |
This class implements the test field in Graz, Austria at the CityTower.
The field is not symmetrical!
Definition at line 82 of file field_lines.h.
firevision::FieldLinesCityTowerSeminar::FieldLinesCityTowerSeminar | ( | float | length, |
float | width | ||
) |
Constructor.
length | of the soccer field |
width | of the soccer field |
Definition at line 303 of file field_lines.cpp.
References firevision::FieldLines::_field_circles, and firevision::FieldLines::calc_offsets().