Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: [cgal-discuss] Re: Colors in GeomView
- Date: Wed, 18 Feb 2009 17:11:48 +0100 (CET)
Sorry, forgot to copy the original:
I'm trying to color an alpha shape which I have visualized with the
Geomview_stream class:
CGAL::Geomview_stream gv(CGAL::Bbox_3(0,0,0, 2, 2, 2));
gv.clear();
gv.set_line_width(5);
gv.set_trace(false);
gv.set_bg_color(CGAL::Color(255, 255, 255)); //white
gv.set_vertex_color(CGAL::Color(255, 0, 0));
gv.set_edge_color(CGAL::Color(0, 255, 0));
gv.set_face_color(CGAL::Color(0, 0, 255));
gv << as;
The thing is that only the background is colored white. The simplicities do
not change color.
What am I doing wrong?
- [cgal-discuss] Re: Colors in GeomView, matthias.kunz, 02/18/2009
- <Possible follow-up(s)>
- [cgal-discuss] Re: Colors in GeomView, matthias.kunz, 02/18/2009
Archive powered by MHonArc 2.6.16.