Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.0
-
None
-
5
-
Qt6_Foundation_Sprint 37
Description
Consider two non-wrapping small rectangles:
QGeoRectangle A(QGeoCoordinate(30, 160), QGeoCoordinate(-30, 170)); QGeoRectangle B(QGeoCoordinate(30, -170), QGeoCoordinate(-30, 160));
The result of A | B will be a rectangle with left edge at -170 and right edge at 170, which is theoretically correct (includes both rectangles), but doesn't satisfy the "smallest possible" property stated in the documentation (which would be the other way around, resulting in a wrapping rectangle).