Subject: CGAL users discussion list
List archive
- From: "Thomas Zangl - Home" <>
- To: <>
- Subject: Triangulation_3::Facet_circulator and how to get its cell_handle and index...
- Date: Fri, 13 Jul 2007 11:37:18 +0200
Dear List,
I am stuck getting the cell_handle and the index i out of a
Triangulation_3::Facet_circulator.
I converted some code using a Facet_iterator to a Facet_circulator
and, even that the circulator and the iterators data_type are supposed
to be the same, it does not work any longer. (compile error)
The code look like this:
Rt_Facet_circulator fCirc,fCircDone = t.incident_facets(*eIt);
do {
if (t.is_infinite(*fCirc)) continue;
cout << "---------------------------- Next face
----------------------------" << endl;
// cell which the facet is part of
Rt_Cell_handle cell = fCirc->first;
// this is the index of the facet's opposite vertex
int faceIndex = fCirc->second;
}
The errors are of some kind "fCirc" has no member first and no member
second. I digged in the source (found no documentation on this topic)
and its still unclear how to get the same information out of the
ciruclator as I got it from the iterator. (I used All_facets_iterator
t.all_facets_begin () )
Whats wrong with my usage of the circulator?
TIA,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -
-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -
- Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Thomas Zangl - Home, 07/13/2007
- Re: [cgal-discuss] Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Laurent Rineau, 07/13/2007
- Re: [cgal-discuss] Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Camille . Wormser, 07/13/2007
- Re: [cgal-discuss] Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Laurent Rineau, 07/13/2007
- Re:[cgal-discuss] Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Thomas Zangl - Home, 07/13/2007
- Re: [cgal-discuss] Triangulation_3::Facet_circulator and how to get its cell_handle and index..., Laurent Rineau, 07/13/2007
Archive powered by MHonArc 2.6.16.