Пример #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))
Пример #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))
Пример #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))
Пример #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))
Пример #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))
Пример #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))