OpendTect 8.0
Loading...
Searching...
No Matches
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...

#include <posidxpair.h>

Inheritance diagram for Pos::IdxPair:
[legend]

Public Member Functions

 IdxPair ()
 
 IdxPair (const Pos::IdxPair &)
 
 IdxPair (IdxType _first, IdxType _second)
 
 ~IdxPair ()
 
IdxTypecol ()
 
IdxType col () const
 
bool isNeighborTo (const IdxPair &, const IdxPairStep &, bool conn8=true) const
 
bool operator!= (const IdxPair &oth) const
 
bool operator< (const IdxPair &oth) const
 
IdxPairoperator= (const IdxPair &)
 
bool operator== (const IdxPair &) const
 
bool operator> (const IdxPair &oth) const
 
IdxTyperow ()
 
IdxType row () const
 
od_int64 sqDistTo (const IdxPair &) const
 
od_int64 toInt64 () const
 
- Public Member Functions inherited from IdxPair
 IdxPair ()
 
 IdxPair (IdxType, IdxType)
 
 ~IdxPair ()
 
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
 
od_int32 & operator[] (int idx)
 
od_int32 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 (od_int64)
 
static const IdxPairudf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPairudf ()
 

Additional Inherited Members

- Public Types inherited from IdxPair
using IdxType = Index_Type
 

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ IdxPair() [1/3]

Pos::IdxPair::IdxPair ( )

◆ IdxPair() [2/3]

Pos::IdxPair::IdxPair ( IdxType _first,
IdxType _second )

◆ IdxPair() [3/3]

Pos::IdxPair::IdxPair ( const Pos::IdxPair & )

◆ ~IdxPair()

Pos::IdxPair::~IdxPair ( )

Member Function Documentation

◆ col() [1/2]

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

◆ col() [2/2]

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

◆ fromInt64()

IdxPair IdxPair::fromInt64 ( od_int64 i64)
inlinestatic

◆ isNeighborTo()

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

◆ operator!=()

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

◆ operator<()

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

◆ operator=()

IdxPair & IdxPair::operator= ( const IdxPair & oth)
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()

od_int64 Pos::IdxPair::sqDistTo ( const IdxPair & ) const

◆ toInt64()

od_int64 IdxPair::toInt64 ( ) 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-2025