37 virtual bool is2D()
const {
return false; }
38 int expectedNrTraces()
const;
40 virtual int start(
bool first=
true)
const = 0;
42 virtual int stop(
bool first=
true)
const = 0;
44 virtual int step(
bool first=
true)
const = 0;
48 virtual void getCoordRange(
Coord& min,
Coord&)
const = 0;
60 bool is2D()
const {
return false; }
62 int start(
bool first=
true)
const;
63 int stop(
bool first=
true)
const;
64 int step(
bool first=
true)
const;
79 bool is2D()
const {
return true; }
81 int start(
bool firstrg =
true )
const 82 {
return firstrg ? nrrg_.start :
mUdf(
int); }
83 int stop(
bool firstrg =
true )
const 84 {
return firstrg ? nrrg_.stop :
mUdf(
int); }
85 int step(
bool firstrg =
true )
const 86 {
return firstrg ? nrrg_.step : 1; }
91 { min = mincoord_; max = maxcoord_; }
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
int stop(bool firstrg=true) const
Inl, TrcNr (first) or Crl (2nd)
Definition: seisbounds.h:83
StepInterval< int > nrrg_
Definition: seisbounds.h:94
contains domain-specific data boundary details.
Definition: seisbounds.h:31
A cartesian coordinate in 2D space.
Definition: coord.h:25
virtual bool is2D() const
Definition: seisbounds.h:37
int step(bool firstrg=true) const
Inl, TrcNr (first) or Crl (2nd)
Definition: seisbounds.h:85
Definition: seisbounds.h:74
bool is2D() const
Definition: seisbounds.h:79
bool is2D() const
Definition: seisbounds.h:60
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
virtual ~Bounds()
Definition: seisbounds.h:35
TrcKeyZSampling & tkzs_
Definition: seisbounds.h:69
Coord mincoord_
Definition: seisbounds.h:95
StepInterval< float > getZRange() const
Definition: seisbounds.h:87
int start(bool firstrg=true) const
Inl, TrcNr (first) or Crl (2nd)
Definition: seisbounds.h:81
StepInterval< float > zrg_
Definition: seisbounds.h:93
Definition: seisbounds.h:53
Coord maxcoord_
Definition: seisbounds.h:96
void getCoordRange(Coord &min, Coord &max) const
Definition: seisbounds.h:90