45 QgsMatrix4x4(
double m11,
double m12,
double m13,
double m14,
46 double m21,
double m22,
double m23,
double m24,
47 double m31,
double m32,
double m33,
double m34,
48 double m41,
double m42,
double m43,
double m44 );
52 const double *data = *m;
53 const double *otherData = *( other.m );
54 for (
int i = 0; i < 16; ++i, data++, otherData++ )
64 return !( *
this == other );
82 return *
this * vector;
91 SIP_PYOBJECT __repr__();
93 QString
str = QStringLiteral(
"<QgsMatrix4x4(%1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14, %15, %16)>" )
94 .arg( sipCpp->data()[0] )
95 .arg( sipCpp->data()[4] )
96 .arg( sipCpp->data()[8] )
97 .arg( sipCpp->data()[12] )
98 .arg( sipCpp->data()[1] )
99 .arg( sipCpp->data()[5] )
100 .arg( sipCpp->data()[9] )
101 .arg( sipCpp->data()[13] )
102 .arg( sipCpp->data()[2] )
103 .arg( sipCpp->data()[6] )
104 .arg( sipCpp->data()[10] )
105 .arg( sipCpp->data()[14] )
106 .arg( sipCpp->data()[3] )
107 .arg( sipCpp->data()[7] )
108 .arg( sipCpp->data()[11] )
109 .arg( sipCpp->data()[15] );
110 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
QgsMargins operator*(const QgsMargins &margins, double factor)
Returns a QgsMargins object that is formed by multiplying each component of the given margins by fact...