lobot::LRFData::Reading Class Reference

#include <Robots/LoBot/io/LoLRFData.H>

List of all members.

Public Member Functions

 Reading (int angle, int distance)
 Constructor.
int distance () const
 Return the distance held by the reading.
int angle () const
 Return the angle held by the reading.
bool operator< (const Reading &R) const
 Operator to compare readings based on their distances.

Detailed Description

This inner class encapsulates an LRF reading, viz., a distance measurement plus the angle at which that measurement was made.

Definition at line 137 of file LoLRFData.H.


Constructor & Destructor Documentation

lobot::LRFData::Reading::Reading ( int  angle,
int  distance 
)

Constructor.

Definition at line 89 of file LoLRFData.C.


Member Function Documentation

int lobot::LRFData::Reading::angle (  )  const [inline]

Return the angle held by the reading.

Definition at line 150 of file LoLRFData.H.

int lobot::LRFData::Reading::distance (  )  const [inline]

Return the distance held by the reading.

Definition at line 147 of file LoLRFData.H.

bool lobot::LRFData::Reading::operator< ( const Reading R  )  const [inline]

Operator to compare readings based on their distances.

Definition at line 153 of file LoLRFData.H.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:29 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3