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::nD1::cDataPoint< tX, tY > Class Template Reference

#include <cDataPoint.h>

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

List of all members.

Public Member Functions

 cDataPoint (tX inX=0, tY inY=0)
tX dist (const cDataPoint< tX, tY > &dataPoint) const
bool operator== (const cDataPoint< tX, tY > &dataPoint) const
bool operator!= (const cDataPoint< tX, tY > &dataPoint) const
bool operator< (const cDataPoint< tX, tY > &dataPoint) const

Public Attributes

tX x
tY y

Detailed Description

template<class tX, class tY>
class fib::algorithms::nD1::cDataPoint< tX, tY >

Definition at line 50 of file cDataPoint.h.


Constructor & Destructor Documentation

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

standardconstructor for a datapoint

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

Member Function Documentation

template<class tX, class tY>
tX fib::algorithms::nD1::cDataPoint< tX, tY >::dist ( const cDataPoint< tX, tY > &  dataPoint) const
Parameters:
dataPointthe datapoint to which the distance in the x value should be evalued
Returns:
the distance of the x value of this datapoint and the given datapoint
See also:
x
template<class tX, class tY>
bool fib::algorithms::nD1::cDataPoint< tX, tY >::operator!= ( const cDataPoint< tX, tY > &  dataPoint) const
Parameters:
dataPointthe datapoint to compare this datapoint with
Returns:
true if the given datapoint is not equal to this, else false (
See also:
x,
y)
template<class tX, class tY>
bool fib::algorithms::nD1::cDataPoint< tX, tY >::operator< ( const cDataPoint< tX, tY > &  dataPoint) const
Parameters:
dataPointthe datapoint to compare this datapoint with
Returns:
true if the x element of the this datapoint is lower or, if the x elements of this and the given datapoint are equal, true if the y element of this datapoint is lower, else false (
See also:
x,
y)
template<class tX, class tY>
bool fib::algorithms::nD1::cDataPoint< tX, tY >::operator== ( const cDataPoint< tX, tY > &  dataPoint) const
Parameters:
dataPointthe datapoint to compare this datapoint with
Returns:
true if the given datapoint is equal to this, else false (
See also:
x,
y)

Member Data Documentation

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

The x value for the datapoint.

Definition at line 56 of file cDataPoint.h.

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

The y value for the datapoint.

Definition at line 61 of file cDataPoint.h.


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