55 QgsOrientedBox3D(
const QList<double> ¢er,
const QList< double > &halfAxes );
85 return !( *
this == other );
165 SIP_PYOBJECT __repr__();
167 QString
str = QStringLiteral(
"<QgsOrientedBox3D([%1, %2, %3], [%4, %5, %6, %7, %8, %9, %10, %11, %12])>" )
168 .arg( sipCpp->centerX() )
169 .arg( sipCpp->centerY() )
170 .arg( sipCpp->centerZ() )
171 .arg( sipCpp->halfAxes()[0] )
172 .arg( sipCpp->halfAxes()[1] )
173 .arg( sipCpp->halfAxes()[2] )
174 .arg( sipCpp->halfAxes()[3] )
175 .arg( sipCpp->halfAxes()[4] )
176 .arg( sipCpp->halfAxes()[5] )
177 .arg( sipCpp->halfAxes()[6] )
178 .arg( sipCpp->halfAxes()[7] )
179 .arg( sipCpp->halfAxes()[8] );
180 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
186 double mCenter[ 3 ] { std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN() };
187 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)