 |
OpendTect
6.6
|
Go to the documentation of this file.
46 inline const char*
toString(
bool onlycol=
false)
const;
91 return RowCol( p.first, p.second );
111 {
return RowCol(
row()/denominator,
col()/denominator ); }
119 {
row() *= factor;
col() *= factor;
return *
this; }
123 {
return (((
unsigned int)
row())<<16)+ ((
unsigned int)
col() & 0xFFFF);}
125 {
return RowCol ( ll>>16, ((
short)(ll&0xFFFF)) ); }
static const TypeSet< RowCol > & clockWiseSequence()
Position.
Definition: commontypes.h:78
const RowCol & operator*=(const RowCol &)
Definition: rowcol.h:116
#define od_int64
Definition: plftypes.h:35
const RowCol & operator-=(const RowCol &)
Definition: rowcol.h:114
RowCol operator+() const
Definition: rowcol.h:100
#define mExpClass(module)
Definition: commondefs.h:177
bool fromString(const char *)
Definition: rowcol.h:135
RowCol operator/(const RowCol &) const
Definition: rowcol.h:108
static RowCol fromInt64(int64_t)
Definition: rowcol.h:88
IdxType & row()
Definition: posidxpair.h:44
Index_Type IdxType
Definition: idxpair.h:33
RowCol getDirection() const
const char * getUsrStr(const char *prefx, const char *sep, const char *postfx, bool only2nd) const
float clockwiseAngleTo(const RowCol &rc) const
IdxType & col()
Definition: posidxpair.h:49
const char * toString(bool onlycol=false) const
Definition: rowcol.h:129
float counterClockwiseAngleTo(const RowCol &) const
A pair of numbers; base class for BinID et al.
Definition: idxpair.h:30
const RowCol & operator/=(const RowCol &)
Definition: rowcol.h:120
int toInt32() const
Definition: rowcol.h:122
RowCol operator*(const RowCol &) const
Definition: rowcol.h:104
Coord3 operator*(double f, const Coord3 &b)
Definition: coord.h:129
float angleTo(const RowCol &) const
int operator-(const DateInfo &di1, const DateInfo &di2)
Definition: dateinfo.h:128
static IdxPair fromInt64(int64_t)
Definition: posidxpair.h:94
RowCol operator-() const
Definition: rowcol.h:102
static RowCol fromInt32(int)
Definition: rowcol.h:124
bool parseUsrStr(const char *str, const char *prefx, const char *sep, const char *postfx)
const RowCol & operator+=(const RowCol &)
Definition: rowcol.h:112
IdxPair used for its row() and col().
Definition: rowcol.h:25
IdxPair with position indices; base class for BinID et al.
Definition: posidxpair.h:29
RowCol RowColDelta
Definition: rowcol.h:16
RowCol()
Definition: rowcol.h:28
BufferString toString(const BufferStringSet &bss)
Definition: bufstringset.h:156
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021