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

#include <cDataPointRange.h>

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

List of all members.

Public Member Functions

 cDataPointRange (tX inX=0, tY inMinY=0, tY inMaxY=0)
tY diff () const
tX dist (const cDataPointRange< tX, tY > &dataPoint) const
bool equal (const cDataPointRange< tX, tY > &dataPoint) const
bool operator< (const cDataPointRange< tX, tY > &dataPoint) const

Public Attributes

tX x
tY minY
tY maxY

Detailed Description

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

Definition at line 53 of file cDataPointRange.h.


Constructor & Destructor Documentation

template<class tX, class tY>
fib::algorithms::nD1::cDataPointRange< tX, tY >::cDataPointRange ( tX  inX = 0,
tY  inMinY = 0,
tY  inMaxY = 0 
)

standardconstructor for a datapoint

Parameters:
inXthe
See also:
x value for the datapoint
Parameters:
inMinYthe
See also:
minY value for the datapoint
Parameters:
inMaxYthe
See also:
maxY value for the datapoint

Member Function Documentation

template<class tX, class tY>
tY fib::algorithms::nD1::cDataPointRange< tX, tY >::diff ( ) const
Returns:
the diffence betwean the minimal and maximal y value
See also:
minY
maxY
template<class tX, class tY>
tX fib::algorithms::nD1::cDataPointRange< tX, tY >::dist ( const cDataPointRange< 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::cDataPointRange< tX, tY >::equal ( const cDataPointRange< tX, tY > &  dataPoint) const
Parameters:
dataPointthe range data point to compare with this
Returns:
true if this range data point is equal to the given range data point, else false
template<class tX, class tY>
bool fib::algorithms::nD1::cDataPointRange< tX, tY >::operator< ( const cDataPointRange< 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 minY element of this datapoint is lower, else if the also the minY elements of this and the given datapoint are equal, true if the maxY element of this datapoint is lower, (
See also:
x,
minY,
maxY)

Member Data Documentation

template<class tX, class tY>
tY fib::algorithms::nD1::cDataPointRange< tX, tY >::maxY

The maximal y value for the datapoint.

Definition at line 69 of file cDataPointRange.h.

template<class tX, class tY>
tY fib::algorithms::nD1::cDataPointRange< tX, tY >::minY

The minimal y value for the datapoint.

Definition at line 64 of file cDataPointRange.h.

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

The x value for the datapoint.

Definition at line 59 of file cDataPointRange.h.


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