pyboxbuilder.paths.largest_inscribed_rectangle¶ pyboxbuilder.paths.largest_inscribed_rectangle(path: Sequence[tuple[float, float]]) → tuple[float, float, float, float][source]¶ Find the largest axis-aligned inscribed rectangle in a simple polygon. Returns:¶ (x, y, width, length) in the polygon’s local frame.