Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3526

Suggestion: QLineF extensions

    XMLWordPrintable

Details

    Description

      Please add the following functionality to I QLineF

      // Distance of point from the line
      qreal QLineF::distance(const QPointF p)

      // Returns whether the Point is on the left or right side of the line, if viewed form P1 to P2
      bool QLineF::isOnLeftSide(const QPointF p)
      bool QLineF::isOnRightSide(const QPointF p)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ritt.ks Konstantin Ritt
              engvolds Morten Engvoldsen (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes