A DLL model to represent digital conic curves.
More...
#include <Conic.hpp>
A DLL model to represent digital conic curves.
The Conic class reprensents DLL that have an analytical representation of the form: h ≤ a.x2 + b.x.y + c.y2 +
d.x + e.y ≤ H.
void DLL::Conic::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::Conic::addInPoint |
( |
const Coordinates & |
xy | ) |
|
|
inline |
Add the point xy to the set that has to lie inside the DLL.
void DLL::Conic::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::Conic::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 Conic & |
conic |
|
) |
| |
|
friend |
Print the characteristics of the conic on the out stream.
The documentation for this class was generated from the following files:
- /home/provot/data/projects/gjknd_1.1/src/Conic.hpp
- /home/provot/data/projects/gjknd_1.1/src/Conic.cpp