1 #ifndef posidxpair2coord_h 2 #define posidxpair2coord_h 35 bool isSubsetOf(
const IdxPair2Coord&)
const;
36 bool isValid()
const {
return xtr.valid(ytr); }
66 {
return b * bct.
c - bct.
b * c; }
77 {
return x ? xtr : ytr; }
#define mExpClass(module)
Definition: commondefs.h:160
void setTransforms(const DirTransform &x, const DirTransform &y)
Definition: posidxpair2coord.h:73
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
Coord rowDir() const
Definition: posidxpair2coord.h:84
#define mIsZero(x, eps)
Definition: commondefs.h:53
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
IdxPair with position indices; base class for BinID et al.
Definition: posidxpair.h:29
Coord colDir() const
Definition: posidxpair2coord.h:85
A cartesian coordinate in 2D space.
Definition: coord.h:25
DirTransform xtr
Definition: posidxpair2coord.h:92
Coord inlDir() const
Definition: posidxpair2coord.h:86
Coord firstDir() const
Definition: posidxpair2coord.h:37
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const DirTransform & getTransform(bool x) const
Definition: posidxpair2coord.h:76
Position.
Definition: commontypes.h:42
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Coord crlDir() const
Definition: posidxpair2coord.h:87
#define mDefEps
Definition: commondefs.h:58
DirTransform ytr
Definition: posidxpair2coord.h:93
IdxPair::IdxType IdxType
Definition: posidxpair2coord.h:30
Coord secondDir() const
Definition: posidxpair2coord.h:38
#define od_int32
Definition: plftypes.h:31
Index_Type IdxType
Definition: idxpair.h:34
bool isValid() const
Definition: posidxpair2coord.h:36
Encapsulates linear transform from (i,j) index to (x,y) coordinates.
Definition: posidxpair2coord.h:26
IdxPair2Coord()
Definition: posidxpair2coord.h:32