gusimplewhiteboard
wb_ball Struct Reference

Whiteboard data structure for a ball sighting. More...

#include <wb_ball.h>

Collaboration diagram for wb_ball:

Public Member Functions

 PROPERTY (int16_t, x) PROPERTY(int16_t
 the balls x coordinate in pixels, relative to the center of the image, imageWidth/2 is 0, left is negative, right is positive More...
 
PROPERTY (int16_t, radius) wb_ball()
 the balls radius in pixels More...
 

Detailed Description

Whiteboard data structure for a ball sighting.

Definition at line 10 of file wb_ball.h.

Member Function Documentation

◆ PROPERTY() [1/2]

y wb_ball::PROPERTY ( int16_t  ,
radius   
)
inline

the balls radius in pixels

default constructor

Definition at line 19 of file wb_ball.h.

◆ PROPERTY() [2/2]

wb_ball::PROPERTY ( int16_t  ,
 
)

the balls x coordinate in pixels, relative to the center of the image, imageWidth/2 is 0, left is negative, right is positive

the balls y coordinate in pixels, relative to the center of the image, imageHeight/2 is 0, up is negative, down is positive


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