22#ifndef _FVUTILS_DRAW_FIELD_LINES_H__
23#define _FVUTILS_DRAW_FIELD_LINES_H__
25#include <utils/math/types.h>
32typedef std::list<fawkes::arc_t> field_circles_t;
55 const field_circles_t &
63 FieldLines(std::string field_name,
float field_length,
float field_width,
float line_width);
This class implements the 6 by 4 meter SPL field according to the 2008 roules.
FieldLines6x4(float length, float width)
Contructor.
This class implements the test field in Graz, Austria at the CityTower.
FieldLinesCityTowerSeminar(float length, float width)
Constructor.
This class implements the test field in Graz, Austria at the CityTower.
FieldLinesCityTower(float length, float width)
Constructor.
This class acts as a container for lines on a soccer field.
float _field_width
The total width of the field (actually of the field lines)
void calc_offsets()
Calculates the field's offsets.
fawkes::cart_coord_2d_t get_field_offsets() const
Offset getter.
virtual void init()=0
Initializes the field (creates all field lines)
float get_line_width() const
Line width getter.
field_circles_t _field_circles
A std::list of arcs and/or circles on the field.
virtual ~FieldLines()
Destructor.
float get_field_length() const
Field length getter.
fawkes::cart_coord_2d_t _field_offsets
The center offset (used to draw unsymmetrically fields - usually zero)
const field_circles_t & get_circles() const
Get circles.
float _field_length
The total length of the field (actually of the field lines)
const std::string & get_name() const
Returns the field name.
float get_field_width() const
Field width getter.
float _line_width
The width of the field lines.
std::string _field_name
The name of the field.
FieldLines(std::string field_name, float field_length, float field_width, float line_width)
Creates a new FieldLines container.
Cartesian coordinates (2D).