Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to use triangulation::incident_facets

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to use triangulation::incident_facets


Chronological Thread 
  • From: Nizar Khalifa Sallem <>
  • To:
  • Subject: Re: [cgal-discuss] how to use triangulation::incident_facets
  • Date: Mon, 4 May 2009 13:35:43 +0200

Thanks,
That seems to solve my problem, although I don't really understand the difference between creation then initialization and combined creation, initialisation :)
Anyway thanks a lot

--
Nizar SALLEM
Robotics and Artificial Intelligence PhD student
LAAS-CNRS
7, Avenue Colonel Roche
31077 Toulouse CEDEX 4
FRANCE




On May 4, 2009, at 9:36 AM, Olivier Devillers wrote:


a écrit :
Hi,

I am looking for an example on how to use incident_facets to traverse the
incident facets of an edge.
I have done this (I don't eally remember where I saw it) but it seems to
enter an infinite loop :
===============================
Facet_circulator fc;
Facet_circulator done(fc);
fc = D.incident_facets(m_edge);
do{
if (!D.is_infinite(*fc)){
//do something
};
}while (++fc != done);
===============================
thanks in advance.



try this :

===============================
Facet_circulator fc= D.incident_facets(m_edge);
Facet_circulator done(fc);
do{
if (!D.is_infinite(*fc)){
//do something
};
}while (++fc != done);
===============================

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




Archive powered by MHonArc 2.6.16.

Top of Page