|
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 |
Returns the corresponding Field object.
| field_name | the name of the field |
| field_length | the area of interest around the field |
| field_width | the area of interest around the field |
Definition at line 116 of file field.cpp.
Referenced by get_lines().
| float firevision::Field::get_field_length | ( | ) | const |
Field length getter.
Definition at line 68 of file field.cpp.
Referenced by get_lines().
| float firevision::Field::get_field_width | ( | ) | const |
Field width getter.
Definition at line 79 of file field.cpp.
Referenced by get_lines().
|
inline |
Field lines getter.
Definition at line 43 of file field.h.
References field_for_name(), get_field_length(), get_field_width(), and print().
| 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 90 of file field.cpp.
Referenced by get_lines().