Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] rendering CGAL objects in Qt

Subject: CGAL users discussion list

List archive

[cgal-discuss] rendering CGAL objects in Qt


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] rendering CGAL objects in Qt
  • Date: Sat, 15 Aug 2009 11:42:19 +0200 (CEST)

Hi,
I'm lerning how to render CGAL objects in Qt.
I can render throw widget line segments without problem like this:

Arrangement_2 arr;
....
Arrangement_2::Edge_iterator ith;
for(ith = arr.edges_begin(); ith!=arr.edges_end(); ith++) {
*widget << ith->curve();
}

But I cannot figure out how to render objects like circles, that are already
stored in arrangement.
e.g. objects from this example
http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Arrangement_on_surface_2/Chapter_main.html#arr_fig:ex_13

Is it possible to use widget for it?

Thank you very much for your help
Martin



Archive powered by MHonArc 2.6.16.

Top of Page