29 double x =
static_cast<double>(rOrig.
X()),
y =
static_cast<double>(rOrig.
Y());
42 double tb = tan(beta);
43 fn[0] =
f[0] +
f[2] * tb;
45 fn[2] =
f[2] +
f[3] * tb;
47 fn[4] =
f[4] +
f[5] * tb;
51 double ta = tan(
alpha);
74 double fSin = sin(angle);
75 double fCos = cos(angle);
76 fn[0] =
f[0] * fCos -
f[1] * fSin;
77 fn[1] =
f[0] * fSin +
f[1] * fCos;
78 fn[2] =
f[2] * fCos -
f[3] * fSin;
79 fn[3] =
f[2] * fSin +
f[3] * fCos;
80 fn[4] =
f[4] * fCos -
f[5] * fSin;
81 fn[5] =
f[4] * fSin +
f[5] * fCos;
94 if (
f[1] ==
f[2] &&
f[1] == 0.0 &&
f[0] ==
f[3] &&
f[0] == 1.0)
102 const double fDet =
f[0] *
f[3] -
f[1] *
f[2];
108 fn[0] = +
f[3] / fDet;
109 fn[1] = -
f[1] / fDet;
110 fn[2] = -
f[2] / fDet;
111 fn[3] = +
f[0] / fDet;
114 fn[4] = -(
f[4] * fn[0] +
f[5] * fn[2]);
115 fn[5] = -(
f[4] * fn[1] +
f[5] * fn[3]);
constexpr tools::Long Y() const
constexpr tools::Long X() const
void translate(double tx, double ty)
Point transform(const Point &rPoint) const
void rotate(double angle)
void set(const double *pn)
void scale(double sx, double sy)
void skew(double alpha, double beta)
constexpr double alpha[nDetails]