Subject: CGAL users discussion list
List archive
- From: Zohar Levi <>
- To:
- Subject: Re: [cgal-discuss] rendering CGAL objects in Qt
- Date: Fri, 28 Aug 2009 03:00:32 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=oGa/oN8a6wfGRlp9Zp59IWua20+g9rJvVoI/A/D+Pdj1jUBIdbYbWFHmUtxVnIdWHF1+fRUDK61QuMYiKPQYgzjexKQ9rUe1pJdMFiQIkzAfptn0NQ6TeWrRYOOCtpE/TmbzPt+/Cm40r2N5Zvox2NQZPUSQLtUaojKreQ3K0zo=;
I think QT has some bezier object. Maybe:
QPainterPath::cubicTo()
From: Martin Baroš <>
To:
Sent: Friday, August 28, 2009 12:01:48 PM
Subject: Re: [cgal-discuss] rendering CGAL objects in Qt
I think so. As far as I know, there is not graphics view item for arrangement.I'm just not sure how could I draw it in correct way.
You'll need to draw each curve of the arrangement one by one.
In case, that I would have in arrangement just line segments it would be easy, but if I have curved lines I can get source and target of the curve easily, but how to draw curved line between start and end points correctly? I still can't find any suitable Qt object for this drawing.
Thank you for your answers, I really appreciate that.
Martin
On Thu, Aug 27, 2009 at 10:26 AM, Laurent Rineau (GeometryFactory) <> wrote:
On Wednesday 26 August 2009 16:10:54 Martin Baroš wrote:I think so. As far as I know, there is not graphics view item for arrangement.
> Hi,
> thank you for your answer.
> I'm using Qt Graphics View framework and I can draw geometric objects
> without problems.
> But I'm still not sure how to draw content of arrangement - should it be
> done by fetching X_monotone_curve one by one from arrangement and then
> drawing in Qt scene?
You'll need to draw each curve of the arrangement one by one.
--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/%0AR&D Engineer at GeometryFactory
http://www.geometryfactory.com/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] rendering CGAL objects in Qt, bar_ma, 08/15/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, bar_ma, 08/15/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Laurent Rineau (GeometryFactory), 08/17/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/26/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Laurent Rineau (GeometryFactory), 08/27/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, efif, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Laurent Rineau (GeometryFactory), 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Zohar Levi, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, efif, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/28/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Laurent Rineau (GeometryFactory), 08/27/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/26/2009
Archive powered by MHonArc 2.6.16.