Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL_triangulation_precondition vs. CGAL_triangulation_expensive_precondition

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL_triangulation_precondition vs. CGAL_triangulation_expensive_precondition


Chronological Thread 
  • From: TableYoung <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_triangulation_precondition vs. CGAL_triangulation_expensive_precondition
  • Date: Mon, 27 Apr 2015 07:30:15 -0700 (PDT)

Hi brYang,
How do you draw the cells ? or like the code show below:
Delaunay_triangulation::finite_face_iterator
begin=DT.finite_facets_begin(),end=finite_facets_end();
for(;begin!=end;++begin){
Delaunay_triangulation::Cell_handle
cell_handle=(*begin).first;
int index=(*begin).second;
int i=(index+1)&3,j=(index+2)&3,k=(index+3)&3;
std::cout<<cell_handle->vertex(i)->point()<<","\
<<cell_handle->vertex(j)->point()<<","\
<<cell_handle->vertex(k)->point()<<std::endl;
}
Maybe the code draw triangulation data struct is incorrect, because Delaunay
triangulation algorithm is stable,
try to find out is there some wrong with your code;
BR
TobeYang



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-triangulation-precondition-vs-CGAL-triangulation-expensive-precondition-tp4660727p4660732.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page