Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] rendering CGAL objects in Qt
- Date: Fri, 28 Aug 2009 12:28:25 +0300
Quoting "Martin Baroš"
<>:
I'm just not sure how could I draw it in correct way.
I think so. As far as I know, there is not graphics view item for
arrangement.
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.
If you cannot draw the curve as is, then you need to approximate it with a polyline and draw the linear segments that comprise the polyline. Some of the traits classes in the arrangement package contain an operation that does the approximation.
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:--
> 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?
I think so. As far as I know, there is not graphics view item for
arrangement.
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/
R&D <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
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, efif, 08/29/2009
- Re: [cgal-discuss] rendering CGAL objects in Qt, Martin Baroš, 08/29/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, 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, 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.