Results 1 to 3 of 3

Thread: Points in Polygon

  1. #1
    Join Date
    Jun 2012
    Posts
    173
    Thanks
    48
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Points in Polygon

    I have polygon, but i need to access its points and know how much points it has??
    how can i do this ??

  2. #2
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Points in Polygon

    QPolygon is a QVector<QPoint>, so you can use all functions from QVector, like count().

  3. The following user says thank you to boudie for this useful post:

    jesse_mark (27th September 2012)

  4. #3
    Join Date
    Jun 2012
    Posts
    173
    Thanks
    48
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Points in Polygon

    thank you

Similar Threads

  1. Replies: 2
    Last Post: 2nd May 2012, 10:49
  2. Draw polygon in QML
    By tuxit in forum Qt Quick
    Replies: 0
    Last Post: 27th July 2011, 16:13
  3. pixmap to polygon
    By mhoover in forum Qt Programming
    Replies: 1
    Last Post: 14th October 2009, 10:02
  4. Rotating the polygon
    By navi1084 in forum Qt Programming
    Replies: 1
    Last Post: 4th September 2008, 01:41
  5. Creating clipped polygon
    By maverick_pol in forum Qt Programming
    Replies: 10
    Last Post: 28th August 2008, 00:15

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.