OpendTect  6.3
seiscommon.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Kris/Bert
8  Date: 2009 / Mar 2016
9 ________________________________________________________________________
10 
11 */
12 
13 #include "seistype.h"
14 
15 namespace Seis
16 {
17 
18  mGlobal(Seis) inline float cDefZEps() { return 1e-6f; }
20  mGlobal(Seis) inline float cDefOffsetEps() { return 1e-3f; }
22  mGlobal(Seis) inline float cDefSampleSnapDist() { return 1e-4f; }
25 
26  mGlobal(Seis) inline bool equalOffset( float offs1, float offs2 )
27  { return mIsEqual(offs1,offs2,cDefOffsetEps());}
29 
30 } // namespace Seis
Seismics.
Definition: segydirectdef.h:20
#define mGlobal(module)
Definition: commondefs.h:160
#define mIsEqual(x, y, eps)
Definition: commondefs.h:56
float cDefSampleSnapDist()
Definition: seiscommon.h:22
float cDefZEps()
1 us or 1 um
Definition: seiscommon.h:18
float cDefOffsetEps()
1 mm
Definition: seiscommon.h:20
bool equalOffset(float offs1, float offs2)
Undef not supported.
Definition: seiscommon.h:26

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