Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::arc_struct Struct Reference

Defines an arc (or circle) More...

#include <types.h>

List of all members.

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.

Detailed Description

Defines an arc (or circle)

Definition at line 110 of file types.h.


Constructor & Destructor Documentation

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 118 of file types.h.

References center, end_phi, radius, start_phi, fawkes::cart_coord_2d_t::x, and fawkes::cart_coord_2d_t::y.


Member Data Documentation

cart_coord_2d_t fawkes::arc_struct::center

The center of the arc or circle.

Definition at line 127 of file types.h.

Referenced by arc_struct().

float fawkes::arc_struct::end_phi

The end angle of the arc.

Definition at line 129 of file types.h.

Referenced by arc_struct().

float fawkes::arc_struct::radius

The radius of the arc or circle.

Definition at line 126 of file types.h.

Referenced by arc_struct().

float fawkes::arc_struct::start_phi

The start angle of the arc.

Definition at line 128 of file types.h.

Referenced by arc_struct().


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