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

#include <cDataPointRange.h>

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

List of all members.

Public Member Functions

 cDataPointRange (tX inX=0, tY inY=0, tZ inMinZ=0, tZ inMaxZ=0)
tZ diff () const
tX dist (const cDataPointRange< tX, tY, tZ > &dataPoint) const

Public Attributes

tX x
tY y
tZ minZ
tZ maxZ

Detailed Description

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

Definition at line 51 of file cDataPointRange.h.


Constructor & Destructor Documentation

template<class tX, class tY, class tZ>
fib::algorithms::nD2::cDataPointRange< tX, tY, tZ >::cDataPointRange ( tX  inX = 0,
tY  inY = 0,
tZ  inMinZ = 0,
tZ  inMaxZ = 0 
)

standardconstructor for a range datapoint

Parameters:
inXthe
See also:
x value for the datapoint
Parameters:
inYthe
See also:
y value for the datapoint
Parameters:
inMinZthe
See also:
minZ value for the datapoint
Parameters:
inMaxZthe
See also:
maxZ value for the datapoint

Member Function Documentation

template<class tX, class tY, class tZ>
tZ fib::algorithms::nD2::cDataPointRange< tX, tY, tZ >::diff ( ) const
Returns:
the diffence betwean the minimal and maximal z value
See also:
minZ
maxZ
template<class tX, class tY, class tZ>
tX fib::algorithms::nD2::cDataPointRange< tX, tY, tZ >::dist ( const cDataPointRange< 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>
tZ fib::algorithms::nD2::cDataPointRange< tX, tY, tZ >::maxZ

The maximal y value for the datapoint.

Definition at line 72 of file cDataPointRange.h.

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

The minimal y value for the datapoint.

Definition at line 67 of file cDataPointRange.h.

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

The x value for the datapoint.

Definition at line 57 of file cDataPointRange.h.

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

The y value for the datapoint.

Definition at line 62 of file cDataPointRange.h.


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