22 #ifndef __FVUTILS_DRAW_FIELD_LINES_H__ 23 #define __FVUTILS_DRAW_FIELD_LINES_H__ 25 #include <utils/math/types.h> 34 typedef std::list<fawkes::arc_t> field_circles_t;
41 float get_line_width()
const;
45 const field_circles_t&
get_circles()
const {
return _field_circles; }
46 const std::string& get_name()
const;
49 FieldLines(std::string field_name,
float field_length,
float field_width,
float line_width);
50 virtual void init() = 0;
float get_field_length() const
Field length getter.
This class implements the 6 by 4 meter SPL field according to the 2008 roules.
float _line_width
The width of the field lines.
Cartesian coordinates (2D).
field_circles_t _field_circles
A std::list of arcs and/or circles on the field.
float _field_width
The total width of the field (actually of the field lines)
float _field_length
The total length of the field (actually of the field lines)
const field_circles_t & get_circles() const
Get circles.
fawkes::cart_coord_2d_t _field_offsets
The center offset (used to draw unsymmetrically fields - usually zero)
float get_field_width() const
Field width getter.
This class implements the test field in Graz, Austria at the CityTower.
This class acts as a container for lines on a soccer field.
std::string _field_name
The name of the field.
fawkes::cart_coord_2d_t get_field_offsets() const
Offset getter.
This class implements the test field in Graz, Austria at the CityTower.