OpendTect
7.0
|
Stores offset and azimuth as an int, wich makes it easy to compare them without having to think of epsilons when comparing. More...
Public Member Functions | |
OffsetAzimuth () | |
OffsetAzimuth (float off, float azi) | |
~OffsetAzimuth () | |
int | asInt () const |
float | azimuth () const |
float | distanceTo (const OffsetAzimuth &, bool sq=false) const |
bool | isAzimuthUndef () const |
bool | isOffsetUndef () const |
float | offset () const |
bool | operator!= (const OffsetAzimuth &) const |
bool | operator== (const OffsetAzimuth &) const |
void | setAzimuth (float) |
void | setFrom (int) |
void | setOffset (float) |
Coord | srcRcvPos (const Coord ¢er, bool add=true) const |
Protected Attributes | |
int | offsetazi_ |
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).
<>
OffsetAzimuth::OffsetAzimuth | ( | ) |
OffsetAzimuth::OffsetAzimuth | ( | float | off, |
float | azi | ||
) |
OffsetAzimuth::~OffsetAzimuth | ( | ) |
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 |
bool OffsetAzimuth::operator!= | ( | const OffsetAzimuth & | ) | const |
bool OffsetAzimuth::operator== | ( | const OffsetAzimuth & | ) | const |
void OffsetAzimuth::setAzimuth | ( | float | ) |
void OffsetAzimuth::setFrom | ( | int | ) |
void OffsetAzimuth::setOffset | ( | float | ) |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024