52 inline BinID operator/(
int)
const;
57 inline const char*
toString(
bool is2d=
false)
const;
58 inline bool fromString(
const char*);
76 {
inl() += bid.
inl();
crl() += bid.
crl();
return *
this; }
78 {
inl() -= bid.
inl();
crl() -= bid.
crl();
return *
this; }
88 {
return BinID( first*ip.first, second*ip.second ); }
91 {
return BinID( first/ip.first, second/ip.second ); }
97 {
return BinID(
inl()/denominator,
crl()/denominator ); }
103 return BinID( p.first, p.second );
#define mExpClass(module)
Definition: commondefs.h:160
bool fromString(const char *)
Definition: binid.h:113
int operator-(const DateInfo &di1, const DateInfo &di2)
Definition: dateinfo.h:129
BinID operator-() const
Definition: binid.h:84
const BinID & operator-=(const BinIDAbsDelta &)
Definition: binid.h:77
const char * getUsrStr(const char *prefx, const char *sep, const char *postfx, bool only2nd) const
BinID operator+(const BinIDAbsDelta &) const
Definition: binid.h:79
#define od_int64
Definition: plftypes.h:36
IdxType & inl()
Definition: posidxpair.h:43
IdxPair with position indices; base class for BinID et al.
Definition: posidxpair.h:29
::Index_Type_Pair Index_Type_Pair
Definition: posidxpair.h:22
BinID BinIDDelta
Definition: binid.h:22
BinIDAbsDelta operator*(const Pos::Index_Type_Pair &) const
Definition: binid.h:87
BinID BinIDAbsDelta
Definition: binid.h:23
static IdxPair fromInt64(int64_t)
Definition: posidxpair.h:95
const BinID & operator+=(const BinIDAbsDelta &)
Definition: binid.h:75
const char * toString(bool is2d=false) const
Definition: binid.h:107
BinID BinIDRelDelta
Definition: binid.h:24
Position.
Definition: commontypes.h:42
BinID()
Definition: binid.h:34
BinIDRelDelta operator/(const Pos::Index_Type_Pair &) const
Definition: binid.h:90
Coord3 operator*(double f, const Coord3 &b)
Definition: coord.h:130
IdxType & crl()
Definition: posidxpair.h:48
Index_Type IdxType
Definition: idxpair.h:34
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
static BinID fromInt64(int64_t)
Definition: binid.h:100
Export_Basic const char * toString(ViewStyle)
A pair of numbers; base class for BinID et al.
Definition: idxpair.h:30
BinID BinIDStep
Definition: binid.h:21
bool parseUsrStr(const char *str, const char *prefx, const char *sep, const char *postfx)