The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::algorithms::nD2::cDataPoint< tX, tY, tZ > Class Template Reference

#include <cDataPoint.h>

Collaboration diagram for fib::algorithms::nD2::cDataPoint< tX, tY, tZ >:

List of all members.

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

Detailed Description

template<class tX, class tY, class tZ>
class fib::algorithms::nD2::cDataPoint< tX, tY, tZ >

Definition at line 50 of file cDataPoint.h.


Constructor & Destructor Documentation

template<class tX, class tY, class tZ>
fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::cDataPoint ( tX  inX = 0,
tY  inY = 0,
tZ  inZ = 0 
)

standardconstructor for a datapoint

Parameters:
inXthe
See also:
x value for the datapoint
Parameters:
inYthe
See also:
y value for the datapoint
Parameters:
inZthe
See also:
z value for the datapoint

Member Function Documentation

template<class tX, class tY, class tZ>
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)

Parameters:
dataPointthe datapoint to which the distance in the x and y value should be evalued
Returns:
the euclidean distance of this datapoint and the given datapoint
See also:
x
y

Member Data Documentation

template<class tX, class tY, class tZ>
tX fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::x

The x value for the datapoint.

Definition at line 56 of file cDataPoint.h.

template<class tX, class tY, class tZ>
tY fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::y

The y value for the datapoint.

Definition at line 61 of file cDataPoint.h.

template<class tX, class tY, class tZ>
tZ fib::algorithms::nD2::cDataPoint< tX, tY, tZ >::z

The z value for the datapoint.

Definition at line 66 of file cDataPoint.h.


The documentation for this class was generated from the following file: