#include <Scan.h>
Public Member Functions | |
Ray () | |
Default constructor. | |
Ray (Decimal r, Angle b, bool v) | |
Decimal constructor. | |
Ray (const Ray &r) | |
Copy constructor. | |
Ray & | operator= (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. |
MipBaselib::Ray::Ray | ( | ) | [inline] |
Default constructor.
MipBaselib::Ray::Ray | ( | const Ray & | r | ) | [inline] |
Copy constructor.
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.