OpendTect-6_4  6.4
Public Member Functions | Public Attributes | List of all members
IndexInfo Class Reference

Info on (floating-point) position in an array or StepInterval. More...

Public Member Functions

 IndexInfo (int i, bool r=true, bool u=false)
 
template<class X , class Y >
 IndexInfo (const StepInterval< X > &s, Y y)
 
template<class X , class Y >
 IndexInfo (const SamplingData< X > &s, Y y, int len)
 
template<class T >
 IndexInfo (const T *, int sz, T val)
 
template<class X , class Y >
void set (const StepInterval< X > &, Y)
 
template<class X , class Y >
void set (const SamplingData< X > &, Y, int length)
 

Public Attributes

int nearest_
 
bool roundedtolow_
 
bool inundef_
 

Detailed Description

Info on (floating-point) position in an array or StepInterval.

Constructor & Destructor Documentation

IndexInfo::IndexInfo ( int  i,
bool  r = true,
bool  u = false 
)
inline
template<class X , class Y >
IndexInfo::IndexInfo ( const StepInterval< X > &  s,
y 
)
inline
template<class X , class Y >
IndexInfo::IndexInfo ( const SamplingData< X > &  s,
y,
int  len 
)
inline
template<class T >
IndexInfo::IndexInfo ( const T *  arr,
int  sz,
val 
)
inline

Member Function Documentation

template<class X , class Y >
void IndexInfo::set ( const StepInterval< X > &  intv,
y 
)
inline
template<class X , class Y >
void IndexInfo::set ( const SamplingData< X > &  sd,
y,
int  length 
)
inline

Member Data Documentation

bool IndexInfo::inundef_
int IndexInfo::nearest_
bool IndexInfo::roundedtolow_

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