Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 4.8.6, 5.4.0
-
Component/s: Documentation
-
Labels:
-
Commits:Qt 4: 6d5a2db97d6f19f4ccc446473adc40a922e1a7ea Qt 5: dd4b09ae1aed3dd20c46ec240a43d70dc13f1ee4
Description
It seems that there is a mistake on the QLineF class reference page (http://qt-project.org/doc/qt-4.8/qlinef.html):
“The intersect() function determines the IntersectType for this line and a given line, while the angle() function returns the angle between the lines”
It should be angleTo() instead of angle(), because in accordance with documentation:
angle() – Returns the angle of the line in degrees
and
angleTo(const QLineF & line) – Returns the angle (in positive degrees) from this line to the given line.