fastquadtree.RectItem¶
Bases: Item[Bounds]
Specialized item container for rectangle geometries.
This subclass of Item adds convenient min_x, min_y, max_x, and max_y attributes for direct access to rectangle bounds.
Attributes:
| Name | Type | Description |
|---|---|---|
id_ | int | Integer identifier. |
geom | G | Rectangle geometry as (min_x, min_y, max_x, max_y) tuple. |
obj | Any | Associated Python object, or None if not set. |
min_x | Any | Minimum X coordinate (convenience accessor). |
min_y | Any | Minimum Y coordinate (convenience accessor). |
max_x | Any | Maximum X coordinate (convenience accessor). |
max_y | Any | Maximum Y coordinate (convenience accessor). |