26 #ifndef __BresenhamCircle_hh__
27 #define __BresenhamCircle_hh__
28 #include "bias_config.h"
84 inline void Init(
int center[2],
int radius) {
128 BIASERR(
"call Init() before GetNext()");
218 #endif // __BresenhamCircle_hh__
Scans a circle using Bresenham's integer arithmetic algorithm.
BresenhamCircle(int center[2], int radius)
Constructor.
bool GetNext(int next[2])
Returns the coordinate of the next point on the circle.
void Init(int center[2], int radius)
Initialises this BresenhamCircle with new center and radius.
~BresenhamCircle()
Destructor.
BresenhamCircle()
Default constructor.