A DLL model to represent digital circles.
More...
#include <Circle.hpp>
A DLL model to represent digital circles.
The Circle class reprensents DLL that have an analytical representation of the form: Rmin2 ≤
(x - cx)2 + (y - cy)2 ≤
Rmax2.
void DLL::Circle::addDownPoint |
( |
const Coordinates & |
xy | ) |
|
|
inline |
Add the point xy to the set that has to lie on the negative side outside of the DLL.
void DLL::Circle::addInPoint |
( |
const Coordinates & |
xy | ) |
|
|
inline |
Add the point xy to the set that has to lie inside the DLL.
void DLL::Circle::addUpPoint |
( |
const Coordinates & |
xy | ) |
|
|
inline |
Add the point xy to the set that has to lie on the positive side outside of the DLL.
bool DLL::Circle::stillGrowableAfterUpdate |
( |
| ) |
|
Do the recognition process with the current sets of points and returns true if the DLL is still growable after we've added points. If it returns false, the DLL is not growable anymore and its reliable characteristics are the ones we got from the last call to stillGrowableAfterUpdate() that returned true.
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Circle & |
circle |
|
) |
| |
|
friend |
Print the characteristics of the circle on the out stream.
The documentation for this class was generated from the following files:
- /home/provot/data/projects/gjknd_1.1/src/Circle.hpp
- /home/provot/data/projects/gjknd_1.1/src/Circle.cpp