testStelSphereGeometry.cpp   testStelSphereGeometry.cpp 
skipping to change at line 120 skipping to change at line 120
QVERIFY(!h0.intersects(h3)); QVERIFY(!h0.intersects(h3));
QVERIFY(!h1.intersects(h3)); QVERIFY(!h1.intersects(h3));
QVERIFY(h2.intersects(h3)); QVERIFY(h2.intersects(h3));
QVERIFY(h0.intersects(h5)); QVERIFY(h0.intersects(h5));
QVERIFY(h0.intersects(h0)); QVERIFY(h0.intersects(h0));
QVERIFY(h1.intersects(h1)); QVERIFY(h1.intersects(h1));
QVERIFY(h2.intersects(h2)); QVERIFY(h2.intersects(h2));
QVERIFY(h3.intersects(h3)); QVERIFY(h3.intersects(h3));
QVERIFY(h4.intersects(h4)); QVERIFY(h4.intersects(h4));
#ifndef Q_OS_WIN
// FIXME: It fails on Windows/MinGW GCC
QVERIFY(h5.intersects(h5)); QVERIFY(h5.intersects(h5));
#endif
QVERIFY(h6.intersects(h0)); QVERIFY(h6.intersects(h0));
QVERIFY(h0.intersects(h6)); QVERIFY(h0.intersects(h6));
QVERIFY(h0.contains(h1)); QVERIFY(h0.contains(h1));
QVERIFY(!h1.contains(h0)); QVERIFY(!h1.contains(h0));
QVERIFY(h2.contains(h0)); QVERIFY(h2.contains(h0));
QVERIFY(!h0.contains(h2)); QVERIFY(!h0.contains(h2));
QVERIFY(!h6.contains(h0)); QVERIFY(!h6.contains(h0));
QVERIFY(!h0.contains(h6)); QVERIFY(!h0.contains(h6));
QVERIFY(h2.contains(h1)); QVERIFY(h2.contains(h1));
skipping to change at line 145 skipping to change at line 148
QVERIFY(h2.contains(h5)); QVERIFY(h2.contains(h5));
QVERIFY(!h5.contains(h0)); QVERIFY(!h5.contains(h0));
QVERIFY(!h5.contains(h1)); QVERIFY(!h5.contains(h1));
QVERIFY(!h5.contains(h2)); QVERIFY(!h5.contains(h2));
QVERIFY(!h5.contains(h3)); QVERIFY(!h5.contains(h3));
QVERIFY(!h5.contains(h4)); QVERIFY(!h5.contains(h4));
QVERIFY(h0.contains(h0)); QVERIFY(h0.contains(h0));
QVERIFY(h1.contains(h1)); QVERIFY(h1.contains(h1));
QVERIFY(h2.contains(h2)); QVERIFY(h2.contains(h2));
QVERIFY(h3.contains(h3)); QVERIFY(h3.contains(h3));
#ifndef Q_OS_WIN
// FIXME: It fails on Windows/MinGW GCC
QVERIFY(h4.contains(h4)); QVERIFY(h4.contains(h4));
QVERIFY(h5.contains(h5)); QVERIFY(h5.contains(h5));
#endif
} }
void TestStelSphericalGeometry::benchmarkSphericalCap() void TestStelSphericalGeometry::benchmarkSphericalCap()
{ {
Vec3d p0(1,0,0); Vec3d p0(1,0,0);
Vec3d p2(1,1,1); Vec3d p2(1,1,1);
p2.normalize(); p2.normalize();
SphericalCap h0(p0, 0); SphericalCap h0(p0, 0);
SphericalCap h4(p2, 0.8); SphericalCap h4(p2, 0.8);
QBENCHMARK { QBENCHMARK {
 End of changes. 4 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/