|
Fawkes API Fawkes Development Version
|
This class is used to describe a soccer field. More...
#include <>>
Public Member Functions | |
| ~Field () | |
| Destructor. More... | |
| const FieldLines & | get_lines () const |
| Field lines getter. More... | |
| float | get_field_length () const |
| Field length getter. More... | |
| float | get_field_width () const |
| Field width getter. More... | |
| void | print (bool in_mm) const |
| Prints the information to the console. More... | |
Static Public Member Functions | |
| static Field * | field_for_name (std::string field_name, float field_length, float field_width) |
| Returns the corresponding Field object. More... | |
|
static |
| float firevision::Field::get_field_length | ( | ) | const |
Field length getter.
Definition at line 64 of file field.cpp.
References firevision::FieldLines::get_field_length().
| float firevision::Field::get_field_width | ( | ) | const |
Field width getter.
Definition at line 74 of file field.cpp.
References firevision::FieldLines::get_field_width().
|
inline |
| void firevision::Field::print | ( | bool | in_mm | ) | const |
Prints the information to the console.
| in_mm | if true all units that have been [m] are now [mm] |
Definition at line 84 of file field.cpp.
References firevision::FieldLines::get_circles().