Results 1 to 2 of 2

Thread: Envelope of two dataset

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    276
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 2 Times in 2 Posts

    Default Envelope of two dataset

    I have a math question.
    I have two QPolygonF, wiht different size.
    I would build a new QPolygonF composed of the envolope of the two polygons.
    For example:
    Qt Code:
    1. QPOlygonF p1 << QPointF(1,1)<<QPointF(10,20)<<QPointF(20,5);
    2. QPolygon p2 << QPointF(5,10)<<QPointF(11,0);
    To copy to clipboard, switch view to plain text mode 
    The resutl should be the polygon
    QPoinF(1,1),QPointF(5,10),QPointF(10,20)<<QPointF( 20,5)
    Last edited by jpn; 8th January 2009 at 22:11. Reason: missing [code] tags

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
  •  
Qt is a trademark of The Qt Company.