26 #ifndef __BresenhamCircleEighth_hh__
27 #define __BresenhamCircleEighth_hh__
28 #include "bias_config.h"
79 inline void Init(
int center[2],
int radius) {
121 BIASERR(
"call Init before GetNext");
167 #endif // __BresenhamCircleEighth_hh__
void Init(int center[2], int radius)
Initialises this BresenhamCircleEighth with new center and radius.
BresenhamCircleEighth()
Default constructor.
bool GetNext(int next[2])
Returns the coordinate of the next point on the 1/8 circle.
BresenhamCircleEighth(int center[2], int radius)
Constructor.
~BresenhamCircleEighth()
Destructor.
Just like BresenhamCircle but only computes 1/8 of the circle.