Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] Access vertices of faces in Delaunay

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] Access vertices of faces in Delaunay


Chronological Thread 
  • From: <>
  • To:
  • Subject: Re: Re: [cgal-discuss] Access vertices of faces in Delaunay
  • Date: Mon, 16 Feb 2009 17:41:04 +0100 (CET)

Hmm. When the insertion has no order how can i ensure i keep my input order of
my points?
If i want read out the vertices or faces of the finished triangulation is this
in a non-changing order?
Because if the input is random and the output how can i ensure reliability?

coord.push_back(Point(x,y,z));
//How do i assign an index to the point which is put in the "coord" list?

at the moment i do that after the triangulation because i thought it was in
order.
// Loop through faces of triangulation and assign index to vertices
int q = 0;
for (Finite_vertices_iterator fvi = Delaunay.finite_vertices_begin();
fvi !=
Delaunay.finite_vertices_end();++fvi){
fvi->info()= q++;
}



Archive powered by MHonArc 2.6.16.

Top of Page