BoundingBox¶
-
class
quads.
BoundingBox
(min_x, min_y, max_x, max_y)¶ A object representing a bounding box.
-
contains
(point)¶ Checks if a point is within the bounding box.
Parameters: point (Point) – The point to check. Returns: True if the point is within the box, otherwise False. Return type: bool
-
intersects
(other_bb)¶ Checks if another bounding box intersects with this bounding box.
Parameters: other_bb (BoundingBox) – The bounding box to check. Returns: True if they intersect, otherwise False. Return type: bool
-