Results 1 to 2 of 2

Thread: How to find the intersection point of polylines

  1. #1
    Join Date
    Dec 2009
    Posts
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default How to find the intersection point of polylines

    Hi All,


    How to find the intersection point of two polylines in Qt.

    I have the objects of QPolygonF with one object is having 2 points which draw a vertical line and other object is having 200 points which polt the sign wave. I want to get the intersection betbeen these two polylines.

    please do the needful.



    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to find the intersection point of polylines

    You need to do some math by calculating intersections of each two lines from each polyline. I'm sure you remember the equasion for doing that from school
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Finding intersection point
    By zgulser in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 08:49
  2. Qt and VC++ instalation problem
    By gui.br in forum Installation and Deployment
    Replies: 6
    Last Post: 21st July 2009, 07:13
  3. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  4. Check a point inside or outside a road?
    By kstking in forum Qt Programming
    Replies: 1
    Last Post: 15th October 2007, 18:48
  5. Find point of intersection/overlaping?
    By Morea in forum Qt Programming
    Replies: 9
    Last Post: 19th April 2007, 14:42

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.