OpendTect-6_4  6.4
offsetazimuth.h
Go to the documentation of this file.
1 #ifndef offsetazimuth_h
2 #define offsetazimuth_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: March 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "coord.h"
17 
27 {
28 public:
29  OffsetAzimuth() : offsetazi_( 0 ) {}
30  OffsetAzimuth(float off,float azi);
31  bool operator==(const OffsetAzimuth&) const;
32  bool operator!=(const OffsetAzimuth&) const;
33 
34  int asInt() const;
35  void setFrom(int);
36 
37  float offset() const;
38  float azimuth() const;
39  bool isAzimuthUndef() const;
40  bool isOffsetUndef() const;
41  void setOffset(float);
42  void setAzimuth(float);
43  float distanceTo(const OffsetAzimuth&,bool sq=false) const;
46  Coord srcRcvPos(const Coord& center,bool add=true) const;
50 protected:
51 
53 
54 };
55 
56 
57 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
A cartesian coordinate in 2D space.
Definition: coord.h:25
int offsetazi_
Definition: offsetazimuth.h:52
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
Definition: offsetazimuth.h:26
OffsetAzimuth()
Definition: offsetazimuth.h:29

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019