gmft.base module

class gmft.base.Rect(bbox: tuple[float, float, float, float])

Bases: object

A floating-point rectangle.

EMPTY = Rect((0, 0, 0, 0))
property area
property height
intersect(other: tuple[float, float, float, float])
is_intersecting(other: tuple[float, float, float, float])
property width
property xmax
property xmin
property ymax
property ymin