Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 7 of 2,687 visit all cells incident to a given vertex in 3D triangulation data structure

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 7 of 2,687 visit all cells incident to a given vertex in 3D triangulation data structure


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] 7 of 2,687 visit all cells incident to a given vertex in 3D triangulation data structure
  • Date: Tue, 22 Mar 2016 09:05:32 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:He+VgBPEFjMEkatnL8Ul6mtUPXoX/o7sNwtQ0KIMzox0KPrzrarrMEGX3/hxlliBBdydsKIUzbON+PG+EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35Txjrv5qsObSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoX3pUfCuCiI+x4EOQZX3waNDU+68Tv8BXCVgCS/WA0U2MMkxMODRKWwgv9W8LYtCfgu+NmkAeTN9f3BeQ9Xzi44q5wDhHhgj0GHzE092TaltZhgqtQvBW7tlp0xIuCM9LdD+Z3Yq6IJYBSfmFGRMsECnRM
  • Organization: GeometryFactory


Instead of a circulator, there is a function incident_cells()
http://doc.cgal.org/latest/Triangulation_3/classCGAL_1_1Triangulation__3.html#a4aaef5614eda5f25fe0c7f01174e40d8
that writes into a container, e.g

std::vector<Cell_handle> neighbors;
t.incident_cells(v, std::back_inserter(neighbors));

best,

andreas

On 22/03/2016 07:04, Tianyun Su wrote:
Dear all,
I want to visit all cells incident to a given vertex in 3D
triangulation data structure. In 2D Triangulation Data Structure,
there is vertex_circulator to implement the function. But in
3D triangulation data structure, there is no vertex_circulator. If
there is another function to visit all cells incident to a given
vertex in 3D triangulation data structure?

Thanks.

Tianyun


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page