Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.3, 5.12.0
-
None
Description
When trying to intersect (almost) parallel lines, QLineF::intersect may return the intersection type incorrectly as QLineF::BoundedIntersection when it is actually QLineF::UnboundedIntersection (or QLineF::NoIntersection)
Since the values in the debugger are converted from double and are not the same as in memory, I dumped the memory values and attached the images. I also created a test code that demonstrates the issue.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-75146 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
292807,6 | Fix QLineF::intersects so it properly handles parallel lines | dev | qt/qtbase | Status: NEW | 0 | 0 |
261770,1 | *** Fix floating point instability in QLineF::intersects | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |