def polygon_to_bbox(pG: Polygon):
    xmin, ymin, xmax, ymax = pG.boundingBox()
    return xmin, xmax, ymin, ymax