Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] how to use triangulation::incident_facets
- Date: Mon, 04 May 2009 13:38:35 +0200
Well, you compared to a kind of null pointer, and you can circulate
around as long as you want fc will never be equal to a null pointer.
andreas
Nizar Khalifa Sallem wrote:
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,try this :
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.
===============================
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
- [cgal-discuss] how to use triangulation::incident_facets, nksallem, 05/03/2009
- [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/04/2009
- RE: [cgal-discuss] Intersections with delta in CGAL, Max, 05/04/2009
- Re: [cgal-discuss] Intersections with delta in CGAL, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/06/2009
- RE: [cgal-discuss] Intersections with delta in CGAL, Max, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Olivier Devillers, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Nizar Khalifa Sallem, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Daniel Duque, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Andreas Fabri, 05/04/2009
- Re: [cgal-discuss] how to use triangulation::incident_facets, Nizar Khalifa Sallem, 05/04/2009
- [cgal-discuss] Intersections with delta in CGAL, Matthias Teich, 05/04/2009
Archive powered by MHonArc 2.6.16.