GJK_nD
 All Classes Files Functions Typedefs Friends Pages
Public Member Functions | Friends | List of all members
DLL::Circle Class Reference

A DLL model to represent digital circles. More...

#include <Circle.hpp>

Public Member Functions

void addInPoint (const Coordinates &xy)
 
void addDownPoint (const Coordinates &xy)
 
void addUpPoint (const Coordinates &xy)
 
bool stillGrowableAfterUpdate ()
 

Friends

std::ostream & operator<< (std::ostream &out, const Circle &circle)
 

Detailed Description

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.

Member Function Documentation

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.

Friends And Related Function Documentation

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: