Fawkes API  Fawkes Development Version
firevision::FieldLines6x4 Class Reference

This class implements the 6 by 4 meter SPL field according to the 2008 roules. More...

#include <firevision/apps/nao_loc/field_lines.cpp/field_lines.h>

Inheritance diagram for firevision::FieldLines6x4:

Public Member Functions

 FieldLines6x4 (float length, float width)
 Contructor. More...
 
- Public Member Functions inherited from firevision::FieldLines
virtual ~FieldLines ()
 Destructor. More...
 
float get_line_width () const
 Line width getter. More...
 
float get_field_length () const
 Field length getter. More...
 
float get_field_width () const
 Field width getter. More...
 
fawkes::cart_coord_2d_t get_field_offsets () const
 Offset getter. More...
 
const field_circles_t & get_circles () const
 Get circles. More...
 
const std::string & get_name () const
 Returns the field name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from firevision::FieldLines
 FieldLines (std::string field_name, float field_length, float field_width, float line_width)
 Creates a new FieldLines container. More...
 
void calc_offsets ()
 Calculates the field's offsets. More...
 
- Protected Attributes inherited from firevision::FieldLines
std::string _field_name
 The name of the field. More...
 
float _line_width
 The width of the field lines. More...
 
float _field_length
 The total length of the field (actually of the field lines) More...
 
float _field_width
 The total width of the field (actually of the field lines) More...
 
fawkes::cart_coord_2d_t _field_offsets
 The center offset (used to draw unsymmetrically fields - usually zero) More...
 
field_circles_t _field_circles
 A std::list of arcs and/or circles on the field. More...
 

Detailed Description

This class implements the 6 by 4 meter SPL field according to the 2008 roules.

Author
Christof Rath

Definition at line 62 of file field_lines.h.

Constructor & Destructor Documentation

◆ FieldLines6x4()

firevision::FieldLines6x4::FieldLines6x4 ( float  length,
float  width 
)

Contructor.

Parameters
lengthof the soccer field
widthof the soccer field

Definition at line 174 of file field_lines.cpp.

References firevision::FieldLines::_field_circles, and firevision::FieldLines::calc_offsets().


The documentation for this class was generated from the following files: