#include <BlobOperators.h>

Public Member Functions | |
| CBlobGetDistanceFromPoint () | |
| Standard constructor (distance to point 0,0) | |
| CBlobGetDistanceFromPoint (const double x, const double y) | |
| Constructor (distance to point x,y) | |
| const char * | GetNom () |
| Get operator name. | |
| double | operator() (CBlob &blob) |
Private Attributes | |
| double | m_x |
| double | m_y |
Classe per calcular la distāncia entre el centre del blob i un punt donat Class to calculate the euclidean distance between the center of a blob and a given point
Definition at line 439 of file BlobOperators.h.
| CBlobGetDistanceFromPoint::CBlobGetDistanceFromPoint | ( | ) | [inline] |
Standard constructor (distance to point 0,0)
Definition at line 443 of file BlobOperators.h.
| CBlobGetDistanceFromPoint::CBlobGetDistanceFromPoint | ( | const double | x, |
| const double | y | ||
| ) | [inline] |
Constructor (distance to point x,y)
Definition at line 448 of file BlobOperators.h.
| const char* CBlobGetDistanceFromPoint::GetNom | ( | ) | [inline, virtual] |
| double CBlobGetDistanceFromPoint::operator() | ( | CBlob & | blob | ) | [virtual] |
Calcula la distāncia entre un punt i el centre del blob
Implements COperadorBlob.
Definition at line 394 of file BlobOperators.cpp.
double CBlobGetDistanceFromPoint::m_x [private] |
Definition at line 462 of file BlobOperators.h.
double CBlobGetDistanceFromPoint::m_y [private] |
Definition at line 462 of file BlobOperators.h.