Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices
  • Date: Sat, 12 Oct 2019 22:49:19 +0200 (CEST)

On Sat, 12 Oct 2019, Adam Getchell wrote:

In Triangulation_data_structure_3.h, I am using the vertices() method to
obtain a reference to the compact container of vertices in the triangulation.

By writing

auto vertices = dt.tds().vertices();

you are actually making a copy of it, which I believe is the source of your trouble. Writing auto& or auto&& should help.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page