Defines an arc (or circle)
More...
#include <types.h>
Defines an arc (or circle)
Definition at line 110 of file types.h.
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.
- Parameters
-
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.
The center of the arc or circle.
Definition at line 127 of file types.h.
float fawkes::arc_struct::end_phi |
The end angle of the arc.
Definition at line 129 of file types.h.
float fawkes::arc_struct::radius |
The radius of the arc or circle.
Definition at line 126 of file types.h.
float fawkes::arc_struct::start_phi |
The start angle of the arc.
Definition at line 128 of file types.h.
The documentation for this struct was generated from the following file: