Subject: CGAL users discussion list
List archive
- From: mysmax <>
- To:
- Subject: [cgal-discuss] Delaunay triangulation_2 opengl rendering problem
- Date: Tue, 14 Feb 2012 05:58:26 -0800 (PST)
hello I am using below code
T.insert(p.begin(),p.end());
glDisable(GL_LIGHTING);
glColor4f(1.0f,1.0f,1.0f,1.0f);
glPolygonMode(GL_FRONT_AND_BACK , GL_LINE);
glBegin(GL_TRIANGLE_STRIP);
eit= T.finite_edges_begin();
while (eit != T.finite_edges_end())
{
pt1=eit->first->vertex(0)->point();
glVertex2d(pt1.x(),pt1.y());
pt2=eit->first->vertex(1)->point();
glVertex2d(pt2.x(),pt2.y());
++eit;
}
glEnd();
from above I am getting missing edges so please any one suggest me.
thanks and regards
mysmax
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Delaunay-triangulation-2-opengl-rendering-problem-tp4387073p4387073.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Delaunay triangulation_2 opengl rendering problem, mysmax, 02/14/2012
- Re: [cgal-discuss] Delaunay triangulation_2 opengl rendering problem, Laurent Rineau (GeometryFactory), 02/14/2012
- [cgal-discuss] Re: Delaunay triangulation_2 opengl rendering problem, mysmax, 02/15/2012
- Re: [cgal-discuss] Re: Delaunay triangulation_2 opengl rendering problem, Sebastien Loriot (GeometryFactory), 02/15/2012
- [cgal-discuss] Re: Delaunay triangulation_2 opengl rendering problem, mysmax, 02/15/2012
- Re: [cgal-discuss] Re: Delaunay triangulation_2 opengl rendering problem, Sebastien Loriot (GeometryFactory), 02/15/2012
- [cgal-discuss] Re: Delaunay triangulation_2 opengl rendering problem, mysmax, 02/15/2012
- Re: [cgal-discuss] Delaunay triangulation_2 opengl rendering problem, Laurent Rineau (GeometryFactory), 02/14/2012
Archive powered by MHonArc 2.6.16.