Fawkes API  Fawkes Development Version
fawkes::point_struct Struct Reference

Point with cartesian coordinates as signed integers. More...

#include <types.h>

Public Member Functions

 point_struct ()
 Default constructor. More...
 
 point_struct (int x, int y)
 Constructor. More...
 

Public Attributes

int x
 x coordinate More...
 
int y
 y coordinate More...
 

Detailed Description

Point with cartesian coordinates as signed integers.

Definition at line 40 of file types.h.

Constructor & Destructor Documentation

◆ point_struct() [1/2]

fawkes::point_struct::point_struct ( )
inline

Default constructor.

Definition at line 45 of file types.h.

◆ point_struct() [2/2]

fawkes::point_struct::point_struct ( int  x,
int  y 
)
inline

Constructor.

Parameters
xThe x coordinate
yThe y coordinate

Definition at line 51 of file types.h.

References x, and y.

Member Data Documentation

◆ x

◆ y


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