DATRW++ library: seismic data I/O with multiple formats

◆ value()

double datrw::su::ScalCoo::value ( ) const

return coordinate value

Definition at line 349 of file sucomanager.cc.

References datrw::su::options::SpatialSampling::bestrict, coo, Mcontrol, scale, and datrw::su::scalefactor().

Referenced by main(), and set().

350  {
351  double c=static_cast<double>(this->coo);
352  double retval = c*scalefactor(this->scale,
354  return(retval);
355  } // double ScalCoo::value() const
bool bestrict
if true: strictly use header definition by SeismicUnix source
Definition: suformat.h:133
int coo
coordinate
Definition: sucomanager.h:171
short scale
scale like scalco
Definition: sucomanager.h:169
datrw::su::options::SpatialSampling Mcontrol
control parameters
Definition: sucomanager.h:173
double scalefactor(short s, const bool &strict)
convert scale value to a factor to be applied
Definition: sucomanager.cc:546
Here is the call graph for this function:
Here is the caller graph for this function: