Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Example use of incident_cells?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Example use of incident_cells?


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: [cgal-discuss] Example use of incident_cells?
  • Date: Tue, 14 Nov 2017 00:41:22 -0800
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:HKUSOhBKVF/FMQf59sLtUyQJP3N1i/DPJgcQr6AfoPdwSP39o8bcNUDSrc9gkEXOFd2Crakb26yL6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6i760TlHERr2MU95J//+B5XJp8WxzeG7vZPJMCtSgz/oSL97KV2ZoBnatsQShcM2I6o4z13Gr2dDe+lSwUtnIFuSm1D34cLmr80ryDhZp/90r50Iaq79ZaltFbE=

Hello all,

Is there an example on using OutputIterator CGAL::Triangulation_3< Traits, TDS, SLDS >::incident_cells(Vertex_handle v,OutputIterator cells )const to write all cells incident to vertex v?

I’m trying to do something like:

// Insert new vertex
Vertex_handle v_center = universe.triangulation->tds().insert_in_facet(
bottom, neighboring_31_index);

// Check that vertex is in center of 6 simplices
std::vector<Cell_handle> inc_cells;
universe.triangulation->tds().incident_cells(v_center, inc_cells);

(Where incident_cells() generates a few dozen lines of template errors.)




Archive powered by MHonArc 2.6.18.

Top of Page