Esempio n. 1
0
 def test_sphere_does_intersect_sphere_4(self):
     s1 = sphere.create()
     s2 = sphere.create([2.,0.,0.], 0.5)
     self.assertTrue(False == gt.sphere_does_intersect_sphere(s1, s2))
Esempio n. 2
0
 def test_sphere_does_intersect_sphere_3(self):
     s1 = sphere.create()
     s2 = sphere.create([2.,0.,0.], 1.0)
     self.assertTrue(gt.sphere_does_intersect_sphere(s1, s2))
Esempio n. 3
0
 def test_sphere_does_intersect_sphere_1(self):
     s1 = sphere.create()
     s2 = sphere.create()
     self.assertTrue(gt.sphere_does_intersect_sphere(s1, s2))
Esempio n. 4
0
 def test_sphere_does_intersect_sphere_4(self):
     s1 = sphere.create()
     s2 = sphere.create([2.,0.,0.], 0.5)
     self.assertTrue(False == gt.sphere_does_intersect_sphere(s1, s2))
Esempio n. 5
0
 def test_sphere_does_intersect_sphere_3(self):
     s1 = sphere.create()
     s2 = sphere.create([2.,0.,0.], 1.0)
     self.assertTrue(gt.sphere_does_intersect_sphere(s1, s2))
Esempio n. 6
0
 def test_sphere_does_intersect_sphere_1(self):
     s1 = sphere.create()
     s2 = sphere.create()
     self.assertTrue(gt.sphere_does_intersect_sphere(s1, s2))