24 #ifndef __UTILS_MATH_TYPES_H_ 25 #define __UTILS_MATH_TYPES_H_ 28 #define M_TWO_PI 6.28318530717959 141 this->start.
x = start_x;
142 this->start.
y = start_y;
157 arc_struct(
float radius,
float center_x,
float center_y,
float start_phi = 0,
float end_phi = M_TWO_PI) {
158 this->radius = radius;
159 this->center.x = center_x;
160 this->center.y = center_y;
161 this->start_phi = start_phi;
162 this->end_phi = end_phi;
struct fawkes::point_struct point_t
Point with cartesian coordinates as signed integers.
float height
The total height of the ellipse.
cart_coord_2d_t center
The center point of the ellipse.
ellipse_struct(float x, float y, float w, float h)
Constructur.
point_struct(int x, int y)
Constructor.
Cartesian coordinates (2D).
Fawkes library namespace.
struct fawkes::ellipse_struct ellipse_t
Defines an ellipse.
unsigned int y
y coordinate
cart_coord_2d_t end
end of the line [m]
unsigned int x
x coordinate
float theta
plane-z : space
cart_coord_2d_t start
start of the line [m]
float x
The x-coordinate of the point.
Rectangle (unsigned integers)
upoint_t start
start point
Defines a point with 6-degrees of freedom.
float z
The z-coordinate of the point.
cart_coord_2d_struct(float x, float y)
Constructor.
field_line_struct(fawkes::cart_coord_2d_t start, fawkes::cart_coord_2d_t end)
Constructor.
cart_coord_2d_struct()
Default constructor.
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.
float x
x coordinate in meters
float pitch
The angle around the y-axis.
float y
The y-coordinate of the point.
Defines an arc (or circle)
Rectangular extent with unsigne integers.
struct fawkes::arc_struct arc_t
Defines an arc (or circle)
struct fawkes::cart_coord_2d_struct cart_coord_2d_t
Cartesian coordinates (2D).
Point with cartesian coordinates as unsigned integers.
Cartesian coordinates (3D).
float end_phi
The end angle of the arc.
cart_coord_2d_t center
The center of the arc or circle.
field_line_struct(float start_x, float start_y, float end_x, float end_y)
Constructor.
struct fawkes::field_line_struct field_line_t
Describes a field line.
point_struct()
Default constructor.
Point with cartesian coordinates as signed integers.
float roll
The angle around the x-axis.
float radius
The radius of the arc or circle.
float yaw
The angle around the z-axis.
float y
y coordinate in meters
float width
The total width of the ellipse.
arc_struct(float radius, float center_x, float center_y, float start_phi=0, float end_phi=M_TWO_PI)
Constructor.