#include <fvutils/draw/field.h>
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. |
Definition at line 38 of file field.h.
Field * firevision::Field::field_for_name | ( | std::string | field_name, | |
float | field_length, | |||
float | field_width | |||
) | [static] |
float firevision::Field::get_field_length | ( | ) | const |
Field length getter.
Definition at line 68 of file field.cpp.
References firevision::FieldLines::get_field_length().
float firevision::Field::get_field_width | ( | ) | const |
Field width getter.
Definition at line 79 of file field.cpp.
References firevision::FieldLines::get_field_width().
const FieldLines & firevision::Field::get_lines | ( | ) | const [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 90 of file field.cpp.
References firevision::FieldLines::get_circles().