testStelSphereGeometry.cpp | testStelSphereGeometry.cpp | |||
---|---|---|---|---|

skipping to change at line 86 | skipping to change at line 86 | |||

StelUtils::spheToRect(0.1+M_PI+M_PI/2.,M_PI/2.-0.1, cpole[0]); | StelUtils::spheToRect(0.1+M_PI+M_PI/2.,M_PI/2.-0.1, cpole[0]); | |||

northPoleSquare.setContour(cpole); | northPoleSquare.setContour(cpole); | |||

StelUtils::spheToRect(0.1,-M_PI/2.+0.1, cpole[0]); | StelUtils::spheToRect(0.1,-M_PI/2.+0.1, cpole[0]); | |||

StelUtils::spheToRect(0.1+M_PI/2., -M_PI/2.+0.1, cpole[1]); | StelUtils::spheToRect(0.1+M_PI/2., -M_PI/2.+0.1, cpole[1]); | |||

StelUtils::spheToRect(0.1+M_PI, -M_PI/2.+0.1, cpole[2]); | StelUtils::spheToRect(0.1+M_PI, -M_PI/2.+0.1, cpole[2]); | |||

StelUtils::spheToRect(0.1+M_PI+M_PI/2.,-M_PI/2.+0.1, cpole[3]); | StelUtils::spheToRect(0.1+M_PI+M_PI/2.,-M_PI/2.+0.1, cpole[3]); | |||

southPoleSquare.setContour(cpole); | southPoleSquare.setContour(cpole); | |||

} | } | |||

//FIXME: Doesn't pass on Windows | ||||

void TestStelSphericalGeometry::testSphericalCap() | void TestStelSphericalGeometry::testSphericalCap() | |||

{ | { | |||

Vec3d p0(1,0,0); | Vec3d p0(1,0,0); | |||

Vec3d p1(-1,0,0); | Vec3d p1(-1,0,0); | |||

Vec3d p2(1,1,1); | Vec3d p2(1,1,1); | |||

p2.normalize(); | p2.normalize(); | |||

Vec3d p3(0,1,0); | Vec3d p3(0,1,0); | |||

SphericalCap h0(p0, 0); | SphericalCap h0(p0, 0); | |||

SphericalCap h1(p0, 0.8); | SphericalCap h1(p0, 0.8); | |||

End of changes. 1 change blocks. | ||||

0 lines changed or deleted | | 1 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/ |