Results 1 to 3 of 3

Thread: How to remove abnormal points?

  1. #1
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to remove abnormal points?

    Hi,

    I have a 2D curve and try to create 2 bands around it (is it called envelope curve?), then use Qt to plot them, as shown in the attached screen capture.

    The problem is that the bands are cross over at many places. Is there a way to remove those unwanted effect?

    I try to use QPolygonF::united( ... ) to remove the effect, but it is way too slow (over 60 seconds).

    Any better and fast way to deal this?

    Many thanks...
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2006
    Posts
    426
    Thanks
    8
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to remove abnormal points?

    Anyone please?

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to remove abnormal points?

    Since this is unrelated to Qt you might have better luck in some forum that specializes in geometric algorithms.

    Cheers,
    _

Similar Threads

  1. Qwidget Show abnormal /setGeometry not working
    By j1111011 in forum Qt Programming
    Replies: 4
    Last Post: 2nd May 2013, 06:26
  2. Replies: 2
    Last Post: 2nd May 2012, 09:49
  3. Points selection
    By CCTeam in forum Qt Programming
    Replies: 1
    Last Post: 7th June 2010, 14:22
  4. Remove unused points from a QPainterPath
    By JaV0 in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2010, 08:35
  5. Remove points from a QPainterPath
    By JaV0 in forum Qt Programming
    Replies: 0
    Last Post: 3rd March 2010, 16:27

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.