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