FieldMath::NOSPACE::MoveToBounds< T, CheckNaNs > Struct Template Reference

A helper transforming structure, only to be used in moveToBounds_copy. More...

#include <kdTree.h>

List of all members.

Public Member Functions

 MoveToBounds ()
 Only sets sqrError to zero.
void operator() (const T &point, const T bounds[2], T &result)
 Moves one coordinate of a point (in point) to a bounding box (in bounds) accumulating sqrError and storing result (in result).

Public Attributes

sqrError
 square error accumulated so far


Detailed Description

template<class T, bool CheckNaNs>
struct FieldMath::NOSPACE::MoveToBounds< T, CheckNaNs >

A helper transforming structure, only to be used in moveToBounds_copy.

Definition at line 47 of file kdTree.h.


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

Generated on Thu Aug 6 22:33:15 2009 for Fractal Image Compressor by  doxygen 1.5.8