OpendTect  7.0
Public Member Functions | Static Public Member Functions | List of all members
Pos::IdxPair Class Reference

IdxPair with position indices; base class for BinID et al. More...

Inheritance diagram for Pos::IdxPair:
[legend]

Public Member Functions

 IdxPair ()
 
 IdxPair (IdxType f, IdxType s)
 
IdxTypecol ()
 
IdxType col () const
 
IdxTypecrl ()
 
IdxType crl () const
 
IdxTypeinl ()
 
IdxType inl () const
 
bool isNeighborTo (const IdxPair &, const IdxPairStep &, bool conn8=true) const
 
IdxTypelineNr ()
 
IdxType lineNr () const
 
bool operator!= (const IdxPair &oth) const
 
bool operator< (const IdxPair &oth) const
 
bool operator== (const IdxPair &) const
 
bool operator> (const IdxPair &oth) const
 
IdxTyperow ()
 
IdxType row () const
 
std::int64_t sqDistTo (const IdxPair &) const
 
std::int64_t toInt64 () const
 
IdxTypetrcNr ()
 
IdxType trcNr () const
 
- Public Member Functions inherited from IdxPair
 IdxPair ()
 
 IdxPair (IdxType f, IdxType s)
 
const char * getUsrStr (const char *prefx, const char *sep, const char *postfx, bool only2nd) const
 
bool isUdf () const
 
bool operator!= (const IdxPair &oth) const
 
bool operator== (const IdxPair &) const
 
IdxTypeoperator[] (int idx)
 
IdxType operator[] (int idx) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 
void setUdf ()
 

Static Public Member Functions

static IdxPair fromInt64 (std::int64_t)
 
static const IdxPairudf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPairudf ()
 

Additional Inherited Members

- Public Types inherited from IdxPair
typedef Index_Type IdxType
 

Detailed Description

IdxPair with position indices; base class for BinID et al.

<>

Constructor & Destructor Documentation

◆ IdxPair() [1/2]

Pos::IdxPair::IdxPair ( )
inline

◆ IdxPair() [2/2]

Pos::IdxPair::IdxPair ( IdxType  f,
IdxType  s 
)
inline

Member Function Documentation

◆ col() [1/2]

IdxType& Pos::IdxPair::col ( )
inline

◆ col() [2/2]

IdxType Pos::IdxPair::col ( ) const
inline

◆ crl() [1/2]

IdxType& Pos::IdxPair::crl ( )
inline

◆ crl() [2/2]

IdxType Pos::IdxPair::crl ( ) const
inline

◆ fromInt64()

IdxPair IdxPair::fromInt64 ( std::int64_t  i64)
inlinestatic

◆ inl() [1/2]

IdxType& Pos::IdxPair::inl ( )
inline

◆ inl() [2/2]

IdxType Pos::IdxPair::inl ( ) const
inline

◆ isNeighborTo()

bool Pos::IdxPair::isNeighborTo ( const IdxPair ,
const IdxPairStep ,
bool  conn8 = true 
) const

◆ lineNr() [1/2]

IdxType& Pos::IdxPair::lineNr ( )
inline

◆ lineNr() [2/2]

IdxType Pos::IdxPair::lineNr ( ) const
inline

◆ operator!=()

bool Pos::IdxPair::operator!= ( const IdxPair oth) const
inline

◆ operator<()

bool IdxPair::operator< ( const IdxPair oth) const
inline

◆ operator==()

bool IdxPair::operator== ( const IdxPair oth) const
inline

◆ operator>()

bool IdxPair::operator> ( const IdxPair oth) const
inline

◆ row() [1/2]

IdxType& Pos::IdxPair::row ( )
inline

◆ row() [2/2]

IdxType Pos::IdxPair::row ( ) const
inline

◆ sqDistTo()

std::int64_t Pos::IdxPair::sqDistTo ( const IdxPair ) const

◆ toInt64()

std::int64_t IdxPair::toInt64 ( ) const
inline

◆ trcNr() [1/2]

IdxType& Pos::IdxPair::trcNr ( )
inline

◆ trcNr() [2/2]

IdxType Pos::IdxPair::trcNr ( ) const
inline

◆ udf()

static const IdxPair& Pos::IdxPair::udf ( )
static

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