The following members of class QLineF are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
(obsolete) qreal |
angle(const QLineF &line) const |
Returns the angle (in degrees) between this line and the given line, taking the direction of the lines into account. If the lines do not intersect within their range, it is the intersection point of the extended lines that serves as origin (see QLineF::UnboundedIntersection).
When the lines are parallel, this function returns 0 if they have the same direction; otherwise it returns 180.
See also intersect().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: