List of all members.
Detailed Description
Stores offset and azimuth as an int, wich makes it easy to compare them without having to think of epsilons when comparing.
The offset has a precision of 0.1 meter and have the range of -419430 and 419430 meters. The azimuth has a about 1.5 bins per degree (511 bins per full circle).
Constructor & Destructor Documentation
| OffsetAzimuth::OffsetAzimuth |
( |
|
) |
[inline] |
| OffsetAzimuth::OffsetAzimuth |
( |
float |
off, |
|
|
float |
azi | |
|
) |
| | |
Member Function Documentation
| int OffsetAzimuth::asInt |
( |
|
) |
const |
| float OffsetAzimuth::azimuth |
( |
|
) |
const |
| float OffsetAzimuth::distanceTo |
( |
const OffsetAzimuth & |
, |
|
|
bool |
sq = false | |
|
) |
| | const |
| bool OffsetAzimuth::isAzimuthUndef |
( |
|
) |
const |
| bool OffsetAzimuth::isOffsetUndef |
( |
|
) |
const |
| float OffsetAzimuth::offset |
( |
|
) |
const |
| void OffsetAzimuth::setAzimuth |
( |
float |
|
) |
|
| void OffsetAzimuth::setFrom |
( |
int |
|
) |
|
| void OffsetAzimuth::setOffset |
( |
float |
|
) |
|
| Coord OffsetAzimuth::srcRcvPos |
( |
const Coord & |
center, |
|
|
bool |
add = true | |
|
) |
| | const |
sq is true, the square distance is returned.
- Returns:
- center + (or - depending on variable add) the object's offset and azimuth.
Member Data Documentation