23 #ifndef __FVUTILS_DRAW_FIELD_H_ 24 #define __FVUTILS_DRAW_FIELD_H_ 26 #include <fvutils/draw/field_lines.h> 36 typedef std::list<fawkes::cart_coord_2d_t> fld_line_points_t;
47 void print(
bool in_mm)
const;
49 static Field*
field_for_name(std::string field_name,
float field_length,
float field_width);
55 bool __manage_lines_memory;
const FieldLines & get_lines() const
Field lines getter.
This class is used to describe a soccer field.
static Field * field_for_name(std::string field_name, float field_length, float field_width)
Returns the corresponding Field object.
void print(bool in_mm) const
Prints the information to the console.
float get_field_length() const
Field length getter.
float get_field_width() const
Field width getter.
This class acts as a container for lines on a soccer field.