Exemple #1
0
def maximum( bb ):
    """Returns the maximum point of the AABB.
    """
    return aabb.maximum( bb )
Exemple #2
0
 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]))
Exemple #3
0
 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]))