Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Simultaneous iteration over duplicate triangulations

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Simultaneous iteration over duplicate triangulations


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Simultaneous iteration over duplicate triangulations
  • Date: Tue, 29 Jul 2014 08:56:52 +0200


Le 29/07/14 04:58, chrism a écrit :
Hi all, my past two questions ended up being me missing documentation, so I
apologize in advance if this is the case here. However, I don't think it is.

Suppose I have a triangulation T1, and I create a copy of it in T2 (so T1
and T2 are equal in every way). Then, I want to iterate over the faces of T1
and T2 simultaneously with iterators t1 and t2. However, I want the
constraint that t1 and t2 point to the 'same' face in T1 and T2.

This would be analogous to traversing two duplicated vectors, where v[0] ==
v2[0].

From what I understand, finite_face_iterator makes no guarantees about the
determinism of: a) the starting face or b) traversal order.

yes, there is no guarantee.


You may enrich your triangulation faces to be able to put cross pointers between the faces of the two triangulations.



Archive powered by MHonArc 2.6.18.

Top of Page