Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxBpoSqrDst Class Template Reference

Pixel functor for computation of squared distance. More...

List of all members.

Public Methods

 HxBpoSqrDst (HxTagList &)
 Constructor : empty. More...

DstValT doIt (const Src1ValT &arg1, const Src2ValT &arg2)
 Actual operation : # return (x - y)^2 #. More...


Static Public Methods

HxString className ()
 The name : "sqrDst". More...


Detailed Description

template<class DstValT, class Src1ValT, class Src2ValT>
class HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >

Pixel functor for computation of squared distance.


Constructor & Destructor Documentation

template<class DstValT, class Src1ValT, class Src2ValT>
HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::HxBpoSqrDst HxTagList   [inline]
 

Constructor : empty.

00026                         { }


Member Function Documentation

template<class DstValT, class Src1ValT, class Src2ValT>
DstValT HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::doIt const Src1ValT &    arg1,
const Src2ValT &    arg2
[inline]
 

Actual operation : # return (x - y)^2 #.

00030                         { return (arg1 - arg2) * (arg1 - arg2); }

template<class DstValT, class Src1ValT, class Src2ValT>
HxString HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::className   [inline, static]
 

The name : "sqrDst".

00034                         { return HxString("sqrDst"); }


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 13:59:23 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001