Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Triangulation_3 problem

Subject: CGAL users discussion list

List archive

[cgal-discuss] Triangulation_3 problem


Chronological Thread 
  • From: mysmax <>
  • To:
  • Subject: [cgal-discuss] Triangulation_3 problem
  • Date: Fri, 10 Feb 2012 02:50:13 -0800 (PST)

Hello check this snippet

// Finite edges indices.
for( typename Triangulation_3<GT, TDS>::Finite_edges_iterator
eit = T.finite_edges_begin(); eit != T.finite_edges_end(); ++eit) {
gv << 2
<< V[(*eit).first->vertex((*eit).second)]
<< V[(*eit).first->vertex((*eit).third)]
<< "\n"; // without color.
// << 4 << drand48() << drand48() << drand48() << 1.0; // random
color.
}

how to render this output in opengl?.

Advance thanks
mysmax

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Triangulation-3-problem-tp4375897p4375897.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page