Fawkes API
Fawkes Development Version
|
Defines an arc (or circle) More...
#include <types.h>
Public Member Functions | |
arc_struct (float radius, float center_x, float center_y, float start_phi=0, float end_phi=M_TWO_PI) | |
Constructor. | |
Public Attributes | |
float | radius |
The radius of the arc or circle. | |
cart_coord_2d_t | center |
The center of the arc or circle. | |
float | start_phi |
The start angle of the arc. | |
float | end_phi |
The end angle of the arc. |
Defines an arc (or circle)
fawkes::arc_struct::arc_struct | ( | float | radius, |
float | center_x, | ||
float | center_y, | ||
float | start_phi = 0 , |
||
float | end_phi = M_TWO_PI |
||
) | [inline] |
Constructor.
radius | The radius of the arc or circle |
center_x | The x-coordinate of the center of the arc or circle |
center_y | The y-coordinate of the center of the arc or circle |
start_phi | The start angle of the arc |
end_phi | The end angle of the arc |
Definition at line 118 of file types.h.
References radius, center, fawkes::cart_coord_2d_t::x, fawkes::cart_coord_2d_t::y, start_phi, and end_phi.
The center of the arc or circle.
Definition at line 127 of file types.h.
Referenced by arc_struct().
The radius of the arc or circle.
Definition at line 126 of file types.h.
Referenced by arc_struct().