Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Res: [cgal-discuss] Next Face


Chronological Thread 
  • From: "Marcos R. P." <>
  • To:
  • Subject: Res: [cgal-discuss] Next Face
  • Date: Tue, 27 Oct 2009 07:03:52 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=VXwtnd9RiUzURl8ouTS97vQ1i4lezQFKXaL6K7CCH+mCxH+gzrUlP596/3kRx8Ymh+0kqxVQwMZ230D4uRCLL/dqLNr7FYx11GM4izDa2Nk18uqM3++djWtdZPx3pK9RPGdHegWIZEBIwdkzz85ga2V+zUhNzpwR9OFPeTxH2bg=;

Hi!
 

The command line:
 
VD::Face_iterator fit = vd.bounded_faces_begin();
 
Lead me to error:
 
PLoc.cpp(83) : error C2440: 'initializing' : cannot convert from 'CGAL::VoronoiDiagram_2::Internal::Face_iterator_adaptor<VDA,Base_it>' to 'CGAL::VoronoiDiagram_2::Internal::Face_iterator_adaptor<VDA,Base_it>'
Some hint?

De: Samuel Hornus <>
Para:
Enviadas: Ter, Outubro 27, 2009 9:06:54 AM
Assunto: Re: [cgal-discuss] Next Face


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
>

--You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes


Archive powered by MHonArc 2.6.16.

Top of Page