Fawkes API
Fawkes Development Version
|
24 #ifndef _UTILS_MATH_TYPES_H_
25 #define _UTILS_MATH_TYPES_H_
28 # define M_TWO_PI 6.28318530717959
157 this->start.
x = start_x;
158 this->start.
y = start_y;
cart_coord_2d_t center
The center point of the ellipse.
Defines an arc (or circle)
Point with cartesian coordinates as signed integers.
struct fawkes::point_6D_struct point_6D_t
Defines a point with 6-degrees of freedom.
float start_phi
The start angle of the arc.
cart_coord_2d_struct()
Default constructor.
float end_phi
The end angle of the arc.
Point with cartesian coordinates as unsigned integers.
struct fawkes::field_line_struct field_line_t
Describes a field line.
Cartesian coordinates (3D).
cart_coord_2d_t start
start of the line [m]
float roll
The angle around the x-axis.
point_struct()
Default constructor.
struct fawkes::point_struct point_t
Point with cartesian coordinates as signed integers.
float yaw
The angle around the z-axis.
cart_coord_2d_t end
end of the line [m]
field_line_struct(fawkes::cart_coord_2d_t start, fawkes::cart_coord_2d_t end)
Constructor.
ellipse_struct(float x, float y, float w, float h)
Constructur.
arc_struct(float radius, float center_x, float center_y, float start_phi=0, float end_phi=M_TWO_PI)
Constructor.
float height
The total height of the ellipse.
Cartesian coordinates (2D).
float radius
The radius of the arc or circle.
float width
The total width of the ellipse.
Rectangle (unsigned integers)
cart_coord_2d_t center
The center of the arc or circle.
Rectangular extent with unsigne integers.
struct fawkes::ellipse_struct ellipse_t
Defines an ellipse.
float pitch
The angle around the y-axis.
float y
The y-coordinate of the point.
Defines a point with 6-degrees of freedom.
struct fawkes::arc_struct arc_t
Defines an arc (or circle)
float z
The z-coordinate of the point.
float x
The x-coordinate of the point.
struct fawkes::cart_coord_2d_struct cart_coord_2d_t
Cartesian coordinates (2D).