Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Next Face

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Next Face


Chronological Thread 
  • From: Samuel Hornus <>
  • To:
  • Subject: Re: [cgal-discuss] Next Face
  • Date: Tue, 27 Oct 2009 13:06:54 +0100


Perhaps making use of the Facet_iterator "fit" that you increment, would have the desired effect?
As in: print_faceVertices( &fit );

And to be sure to grab only bounded faces, use bounded_faces_begin() and bounded_faces_end().
Then, be sure to read the documentation of vd.bounded_face() to understand why the program do as you
describe.

Sam

On 26 oct. 2009, at 18:43, Marcos R. P. wrote:

VD::Face_iterator fit = vd.faces_begin();

for( ; fit != vd.faces_end(); ++fit )

{

std::cout << "\nFace " << std::endl;

print_faceVertices( &vd.bounded_face() );

std::cout << std::endl;

}//fim for





Archive powered by MHonArc 2.6.16.

Top of Page