23 #ifndef _FVUTILS_DRAW_FIELD_H_ 24 #define _FVUTILS_DRAW_FIELD_H_ 26 #include <fvutils/draw/field_lines.h> 31 namespace firevision {
33 typedef std::list<fawkes::cart_coord_2d_t> fld_line_points_t;
48 void print(
bool in_mm)
const;
50 static Field *
field_for_name(std::string field_name,
float field_length,
float field_width);
56 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.