15 #include "generalmod.h" 28 :
Pos::IdxPairValueSet(nrvals,allowdup) {}
30 :
Pos::IdxPairValueSet(bvs) {}
35 { allowDuplicateIdxPairs(yn); }
37 {
return hasDuplicateIdxPairs(); }
39 {
return nrDuplicateIdxPairs(); }
42 {
return mkBinID(getIdxPair(spos)); }
44 {
return mkBinID(firstIdxPair()); }
52 {
return BinID( ip.first, ip.second ); }
#define mExpClass(module)
Definition: commondefs.h:160
bool nrDuplicateBinIDs() const
Definition: binidvalset.h:38
Set of data points with group selection.
Definition: datapointset.h:48
BinIDValueSet(int nrvals, bool allowdup)
Definition: binidvalset.h:27
BinID getBinID(const SPos &spos) const
Definition: binidvalset.h:41
IdxPair with position indices; base class for BinID et al.
Definition: posidxpair.h:29
position in IdxPairValueSet; an iterator.
Definition: posidxpairvalset.h:96
BinIDValueSet(const BinIDValueSet &bvs)
Definition: binidvalset.h:29
Position.
Definition: commontypes.h:42
static BinID mkBinID(const Pos::IdxPair &ip)
Definition: binidvalset.h:51
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
IdxPairValueSet & operator=(const IdxPairValueSet &)
bool hasDuplicateBinIDs() const
Definition: binidvalset.h:36
BinID firstBinID() const
Definition: binidvalset.h:43
void allowDuplicateBinIDs(bool yn)
Definition: binidvalset.h:34
Data set consisting of data vectors.
Definition: posvecdataset.h:30