Ray Class Reference
[Sensors]

Represents the triple (reading,bearing,valid) of a ray of a range scan. More...

#include <Scan.h>

List of all members.

Public Member Functions

 Ray ()
 Default constructor.
 Ray (Decimal r, Ang2Pi b, bool v)
 Decimal constructor.
 Ray (const Ray &r)
 Copy constructor.
Rayoperator= (const Ray &r)
 assigment operator =.
bool operator== (const Ray &a) const
 Compound operator ==.
bool operator!= (const Ray &other) const
 Compound operator !=.
Decimal reading ()
 Get the reading.
Ang2Pi bearing ()
 Get the bearing.
bool valid ()
 Get the validity boolean.
void setValid (bool v)
 Set the validity boolean.
string print ()
 Print function.

Friends

class boost::serialization::access


Detailed Description

Represents the triple (reading,bearing,valid) of a ray of a range scan.

Author:
Antonio Franchi, franchi@diag.uniroma1.it
Note:
Raymm and Ray should both be children of Higher ray class;

Constructor & Destructor Documentation

Ray::Ray (  )  [inline]

Default constructor.

Ray::Ray ( Decimal  r,
Ang2Pi  b,
bool  v 
) [inline]

Decimal constructor.

Ray::Ray ( const Ray r  )  [inline]

Copy constructor.


Member Function Documentation

Ray& Ray::operator= ( const Ray r  )  [inline]

assigment operator =.

bool Ray::operator== ( const Ray a  )  const [inline]

Compound operator ==.

bool Ray::operator!= ( const Ray other  )  const [inline]

Compound operator !=.

Decimal Ray::reading (  )  [inline]

Get the reading.

Ang2Pi Ray::bearing (  )  [inline]

Get the bearing.

bool Ray::valid (  )  [inline]

Get the validity boolean.

void Ray::setValid ( bool  v  )  [inline]

Set the validity boolean.

string Ray::print ( void   )  [inline]

Print function.

Returns:
A printable string with the value printed on it.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]


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

Generated on Tue Jun 15 07:01:10 2010 for MIP by  doxygen 1.5.6