Fawkes API  Fawkes Development Version
fawkes::arc_struct Struct Reference

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. More...
 

Public Attributes

float radius
 The radius of the arc or circle. More...
 
cart_coord_2d_t center
 The center of the arc or circle. More...
 
float start_phi
 The start angle of the arc. More...
 
float end_phi
 The end angle of the arc. More...
 

Detailed Description

Defines an arc (or circle)

Definition at line 149 of file types.h.

Constructor & Destructor Documentation

◆ arc_struct()

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
radiusThe radius of the arc or circle
center_xThe x-coordinate of the center of the arc or circle
center_yThe y-coordinate of the center of the arc or circle
start_phiThe start angle of the arc
end_phiThe end angle of the arc

Definition at line 157 of file types.h.

Member Data Documentation

◆ center

cart_coord_2d_t fawkes::arc_struct::center

The center of the arc or circle.

Definition at line 166 of file types.h.

◆ end_phi

float fawkes::arc_struct::end_phi

The end angle of the arc.

Definition at line 168 of file types.h.

◆ radius

float fawkes::arc_struct::radius

The radius of the arc or circle.

Definition at line 165 of file types.h.

◆ start_phi

float fawkes::arc_struct::start_phi

The start angle of the arc.

Definition at line 167 of file types.h.


The documentation for this struct was generated from the following file: