92 return !( *
this == other );
178 SIP_PYOBJECT __repr__();
180 QString str = QStringLiteral(
"<QgsOrientedBox3D([%1, %2, %3], [%4, %5, %6, %7, %8, %9, %10, %11, %12])>" )
181 .arg( sipCpp->centerX() )
182 .arg( sipCpp->centerY() )
183 .arg( sipCpp->centerZ() )
184 .arg( sipCpp->halfAxes()[0] )
185 .arg( sipCpp->halfAxes()[1] )
186 .arg( sipCpp->halfAxes()[2] )
187 .arg( sipCpp->halfAxes()[3] )
188 .arg( sipCpp->halfAxes()[4] )
189 .arg( sipCpp->halfAxes()[5] )
190 .arg( sipCpp->halfAxes()[6] )
191 .arg( sipCpp->halfAxes()[7] )
192 .arg( sipCpp->halfAxes()[8] );
193 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
199 double mCenter[ 3 ] { std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN() };
200 double mHalfAxes[9] { 1, 0, 0, 0, 1, 0, 0, 0, 1 };
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference).