def minimum( bb ): """Returns the minimum point of the AABB. """ return aabb.minimum( bb )
def test_minimum(self): a = aabb.create_from_bounds([-1, -1, -1], [1, 1, 1]) result = aabb.minimum(a) self.assertTrue(np.array_equal(result, [-1, -1, -1]))
def test_minimum(self): a = aabb.create_from_bounds([-1,-1,-1],[1,1,1]) result = aabb.minimum(a) self.assertTrue(np.array_equal(result, [-1,-1,-1]))