OpendTect-6_4  6.4
seiscommon.h
Go to the documentation of this file.
1 #ifndef seiscommon_h
2 #define seiscommon_h
3 
4 /*
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kris/Bert
9  Date: 2009 / Mar 2016
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 */
14 
15 #include "seismod.h"
16 #include "seistype.h"
17 
18 namespace Seis
19 {
20 
21  mGlobal(Seis) inline float cDefZEps() { return 1e-6f; }
23  mGlobal(Seis) inline float cDefOffsetEps() { return 1e-3f; }
25  mGlobal(Seis) inline float cDefSampleSnapDist() { return 1e-4f; }
28 
29  mGlobal(Seis) inline bool equalOffset( float offs1, float offs2 )
30  { return mIsEqual(offs1,offs2,cDefOffsetEps());}
32 
33 } // namespace Seis
34 
35 
36 #endif
Summary for a Seismic object.
Definition: segydirectdef.h:23
#define mGlobal(module)
Definition: commondefs.h:163
#define mIsEqual(x, y, eps)
Definition: commondefs.h:54
float cDefSampleSnapDist()
Definition: seiscommon.h:25
float cDefZEps()
1 us or 1 um
Definition: seiscommon.h:21
float cDefOffsetEps()
1 mm
Definition: seiscommon.h:23
bool equalOffset(float offs1, float offs2)
Undef not supported.
Definition: seiscommon.h:29

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