35 Kinv[0][0] = 1.0 / (*this)[0][0];
36 Kinv[1][1] = 1.0 / (*this)[1][1];
37 Kinv[0][1] = - (*this)[0][1]/((*this)[0][0] * (*this)[1][1]);
38 Kinv[0][2] = ((*this)[0][1] * (*this)[1][2])/
39 ((*
this)[0][0] * (*this)[1][1]) - (*
this)[0][2]/(*this)[0][0];
40 Kinv[1][2] = - (*this)[1][2] / (*this)[1][1];
92 ,
const KMATRIX_TYPE & fy
93 ,
const KMATRIX_TYPE & hx
94 ,
const KMATRIX_TYPE & hy
95 ,
const KMATRIX_TYPE & skew)
KMATRIX_TYPE GetFy() const
void Set(const KMATRIX_TYPE &fx, const KMATRIX_TYPE &fy, const KMATRIX_TYPE &hx, const KMATRIX_TYPE &hy, const KMATRIX_TYPE &skew=KMATRIX_TYPE(0))
get and set data members by verbose names.
void SetSkew(const KMATRIX_TYPE &val)
KMATRIX_TYPE GetHy() const
KMATRIX_TYPE GetSkew() const
KMATRIX_TYPE GetFx() const
KMATRIX_TYPE GetHx() const
void SetFx(const KMATRIX_TYPE &val)
void SetHy(const KMATRIX_TYPE &val)
void SetFy(const KMATRIX_TYPE &val)
K describes the mapping from world coordinates (wcs) to pixel coordinates (pcs).
void SetHx(const KMATRIX_TYPE &val)
KMatrix Invert() const
returns analyticaly inverted matrix
void SetIdentity()
set the elements of this matrix to the identity matrix (possibly overriding the inherited method) ...