Fawkes API  Fawkes Development Version
fawkes::cart_coord_2d_struct Struct Reference

Cartesian coordinates (2D). More...

#include <types.h>

Public Member Functions

 cart_coord_2d_struct ()
 Default constructor. More...
 
 cart_coord_2d_struct (float x, float y)
 Constructor. More...
 

Public Attributes

float x
 x coordinate More...
 
float y
 y coordinate More...
 

Detailed Description

Cartesian coordinates (2D).

Definition at line 59 of file types.h.

Constructor & Destructor Documentation

◆ cart_coord_2d_struct() [1/2]

fawkes::cart_coord_2d_struct::cart_coord_2d_struct ( )
inline

Default constructor.

Definition at line 64 of file types.h.

◆ cart_coord_2d_struct() [2/2]

fawkes::cart_coord_2d_struct::cart_coord_2d_struct ( float  x,
float  y 
)
inline

Constructor.

Parameters
xThe x coordinate.
yThe y coordinate.

Definition at line 70 of file types.h.

References fawkes::point_struct::x, and fawkes::point_struct::y.

Member Data Documentation

◆ x

◆ y


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