MipBaselib::Ray Class Reference

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, Angle 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.
Angle bearing ()
 Get the bearing.
bool valid ()
 Get the validity boolean.
void setValid (bool v)
 Set the validity boolean.
string print ()
 Print function.


Detailed Description

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

Author:
Antonio Franchi, antonio.franchi@tuebingen.mpg.de
Note:
Raymm and Ray should both be children of Higher ray class;

Constructor & Destructor Documentation

MipBaselib::Ray::Ray (  )  [inline]

Default constructor.

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

Decimal constructor.

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

Copy constructor.


Member Function Documentation

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

assigment operator =.

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

Compound operator ==.

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

Compound operator !=.

Decimal MipBaselib::Ray::reading (  )  [inline]

Get the reading.

Angle MipBaselib::Ray::bearing (  )  [inline]

Get the bearing.

bool MipBaselib::Ray::valid (  )  [inline]

Get the validity boolean.

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

Set the validity boolean.

string MipBaselib::Ray::print (  )  [inline]

Print function.

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


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

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6