Fawkes API
Fawkes Development Version
|
This class is used to describe a soccer field. More...
#include <>>
Public Member Functions | |
~Field () | |
Destructor. | |
const FieldLines & | get_lines () const |
Field lines getter. | |
float | get_field_length () const |
Field length getter. | |
float | get_field_width () const |
Field width getter. | |
void | print (bool in_mm) const |
Prints the information to the console. | |
Static Public Member Functions | |
static Field * | field_for_name (std::string field_name, float field_length, float field_width) |
Returns the corresponding Field object. |
This class is used to describe a soccer field.
Field * firevision::Field::field_for_name | ( | std::string | field_name, |
float | field_length, | ||
float | field_width | ||
) | [static] |
float firevision::Field::get_field_length | ( | ) | const |
float firevision::Field::get_field_width | ( | ) | const |
const FieldLines & firevision::Field::get_lines | ( | ) | const [inline] |
void firevision::Field::print | ( | bool | in_mm | ) | const |