geometry.
Point
Bases: object
object
distance
Compute the Euclidean distance to another point.
Rectangle
area
Computes the area of the rectangle.
bottom_right
Return the bottom right point of the rectangle.
contains
Check if the point is contained within the rectangle.
overlap
Check if two rectangles overlap by any margin.
overlap_area
Measure the area of the overlap between two rectangles.
top_left
Return the top left point of the rectangle.
update
Update the position of the rectangle.
Compute the Euclidean distance between two points.
Compute the area of the overlap between two rectangles.