Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Mesh generation question

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Mesh generation question


Chronological Thread 
  • From: Ram <>
  • To:
  • Subject: [cgal-discuss] Re: Mesh generation question
  • Date: Wed, 25 Jan 2012 13:29:02 -0800 (PST)


Hi Laurent,

I think this loop is the problem:

for ( typename C3t3::Cells_in_complex_iterator cit =
c3t3.cells_in_complex_begin();
cit != c3t3.cells_in_complex_end(); ++cit){
gv << 4 << " "
<< V[cit->vertex(0)] << " "
<< V[cit->vertex(1)] << " "
<< V[cit->vertex(2)] << " "
<< V[cit->vertex(3)] << " "
<< "\n"; // without color.
// << 4 << drand48() << drand48() << drand48() << 1.0; // random
color.
}

which is called from:


template < class GT, class TDS >
void
show_triangulation_edges(std::ofstream &gv, const Triangulation_3<GT,TDS>
&T, const C3t3& c3t3)

The initial cells are all "0 0 0 0" -- what am i doing wrong?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Mesh-generation-question-tp4300233p4328603.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page