Subject: CGAL users discussion list
List archive
- From: "alex" <>
- To: <>
- Subject: [cgal-discuss] How to draw General Polygon_2
- Date: Wed, 30 Sep 2009 10:43:55 +0530
Hi
I am trying to use circle_segment example in CGAL of intersection_2 . I want to draw final result to openGL but i can't find the way. I tried lot of way but still no idea how to implement it. I also looked at QT code but no luck. I donot want to use QT because i want to render it my own OpenGL code. Here is code of example.
// Insert four non-intersecting circles.
Polygon_set_2 S;
Polygon_2 circ1, circ2,;
circ1 = construct_polygon(Circle_2(Point_2(1, 1), 1)); S.insert(circ1);
circ2 = construct_polygon(Circle_2(Point_2(5, 1), 1)); S.insert(circ2);
// Print the output.
std::list<Polygon_with_holes_2> res;
S.polygons_with_holes (std::back_inserter (res));
I want to draw final result given by polygons_wit_holes. How can i do that ?
- [cgal-discuss] Polyhedron rendering in OpenGL, gilles.kneuss, 09/29/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, Laurent Rineau (GeometryFactory), 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, Amy Tabb, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, gilles, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, gilles, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, Amy Tabb, 09/30/2009
- [cgal-discuss] How to draw General Polygon_2, alex, 09/30/2009
- [cgal-discuss] CGAL with QT4 Problem, alex, 09/30/2009
- Res: [cgal-discuss] CGAL with QT4 Problem, Marcos R. P., 09/30/2009
- RE: Res: [cgal-discuss] CGAL with QT4 Problem, alex Dowson, 09/30/2009
- Res: [cgal-discuss] CGAL with QT4 Problem, Marcos R. P., 09/30/2009
- [cgal-discuss] CGAL with QT4 Problem, alex, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, Pierre Alliez, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, gilles, 09/30/2009
- Re: [cgal-discuss] Polyhedron rendering in OpenGL, Laurent Rineau (GeometryFactory), 09/30/2009
Archive powered by MHonArc 2.6.16.