eCameraSensor::Correction Struct Reference

helper struct to get the best (smallest) position correction More...

List of all members.

Public Member Functions

void Improve (eCoord correctTo, REAL distance)
 try to improve the correction suggestion

Public Attributes

eCoord correctTo
REAL distance


Detailed Description

helper struct to get the best (smallest) position correction

Definition at line 725 of file eCamera.cpp.


Member Function Documentation

void eCameraSensor::Correction::Improve ( eCoord  correctTo,
REAL  distance 
) [inline]

try to improve the correction suggestion

Definition at line 731 of file eCamera.cpp.

Referenced by eCameraSensor::LookAround().

00732         {
00733             if ( this->distance > distance )
00734             {
00735                 this->distance = distance;
00736                 this->correctTo = correctTo;
00737             }
00738         }

Here is the caller graph for this function:


Member Data Documentation

eCoord eCameraSensor::Correction::correctTo

Definition at line 727 of file eCamera.cpp.

Referenced by eCameraSensor::PassEdge().

REAL eCameraSensor::Correction::distance

Definition at line 728 of file eCamera.cpp.

Referenced by eCameraSensor::PassEdge().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 15 23:22:01 2008 for Armagetron Advanced by  doxygen 1.5.4