The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cDataPoint.h>
Public Member Functions | |
cDataPoint (tX inX=0, tY inY=0, tZ inZ=0) | |
tX | dist (const cDataPoint< tX, tY, tZ > &dataPoint) const |
Public Attributes | |
tX | x |
tY | y |
tZ | z |
Definition at line 50 of file cDataPoint.h.
fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::cDataPoint | ( | tX | inX = 0 , |
tY | inY = 0 , |
||
tZ | inZ = 0 |
||
) |
tX fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::dist | ( | const cDataPoint< tX, tY, tZ > & | dataPoint | ) | const |
This method evalues the distance to an oter datapoint. The distance is the euclidean distance: ((x - dataPoint.x)^2 + (y - dataPoint.x)^2)^(1/2)
dataPoint | the datapoint to which the distance in the x and y value should be evalued |
tX fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::x |
The x value for the datapoint.
Definition at line 56 of file cDataPoint.h.
tY fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::y |
The y value for the datapoint.
Definition at line 61 of file cDataPoint.h.
tZ fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::z |
The z value for the datapoint.
Definition at line 66 of file cDataPoint.h.