Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] Obtain Vertex_handle from compact container of vertices, Adam Getchell, 10/12/2019
- Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices, Marc Glisse, 10/12/2019
- Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices, Adam Getchell, 10/12/2019
- Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices, Marc Glisse, 10/12/2019
Archive powered by MHonArc 2.6.18.