Exemplo n.º 1
0
def minimum( bb ):
    """Returns the minimum point of the AABB.
    """
    return aabb.minimum( bb )
Exemplo n.º 2
0
 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]))
Exemplo n.º 3
0
 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]))