Beispiel #1
0
 def test_point_intersect_line_invalid(self):
     p = np.array([3.,3.,3.])
     l = np.array([[0.,0.,0.],[2.,2.,2.]])
     result = gt.point_intersect_line(p, l)
     self.assertTrue(np.array_equal(result, p))
Beispiel #2
0
 def test_point_intersect_line_invalid(self):
     p = np.array([3.,3.,3.])
     l = np.array([[0.,0.,0.],[2.,2.,2.]])
     result = gt.point_intersect_line(p, l)
     self.assertTrue(np.array_equal(result, p))