Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] are vertex_handle from polyhedron and vertex_handle
- Date: Thu, 23 Apr 2009 16:03:27 +0200
- Organization: INRIA
Nizar Khalifa Sallem wrote:
Hi,
I was searching in the documentation and mailing list if Vertex_handle from polyhedron and Vertex_handle from triangulation were comparable I mean can I do this :
======================================================
//assume declarations and includes done
Delaunay3::Vertex_handle dv;
Polyhedron P;
//assume creation done
for ( Vertex_iterator v = P.vertices_begin(); v != P.vertices_end(); ++v){
if (v == vd) {
//do something
}
}
but didn't found any entry, can someone help?
=======================================================
No, they are not comparable.
Delaunay and Polyhedron are totally different data structures in memory,
so why would you want to do this anyway ?
By the way are circulators and iterator around vertices comparable or not?
Within the same data structure, I believe these should be, yes.
At least they should both be convertible to the common corresponding
handle types. There could be some issues in particular cases though.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] are vertex_handle from polyhedron and vertex_handle from triangulation equivalent, Nizar Khalifa Sallem, 04/23/2009
- Re: [cgal-discuss] are vertex_handle from polyhedron and vertex_handle, Sylvain Pion, 04/23/2009
Archive powered by MHonArc 2.6.16.