Subject: CGAL users discussion list
List archive
- From: Adam Getchell <>
- To:
- Subject: Re: [cgal-discuss] Obtain Vertex_handle from compact container of vertices
- Date: Sat, 12 Oct 2019 14:01:16 -0700
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:XgafVhJFmIKcEdlNKNmcpTZWNBhigK39O0sv0rFitYgfK/TxwZ3uMQTl6Ol3ixeRBMOHsqkC1bWd6v29EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCezbL9oLRi7rwrdutQWjIZiN6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9gqJHrx2uuhJxzYDUbp+XO/R9ea3QZskVSXZEXstLVyxNHoGxYo0SBOQBJ+ZYqIz9qkMSoBSjHwasAf7kxD5WiX/qwaI60/ouEQXC3Ac9GN8Bqmnbo8/wNKsIXuC60rXIwinDb/xI3Tf97JPFch8kof6WXLJwddDdxlUoFwPAl1idr5HuMT2S1uQIqWeb7uxgWPqui24hsQFxoyKgyt0iionTno4a107L9TtjzIYpIt21TlNwb928EJZIqS2WK497TtkhTmxooio21KAKtYKhcCUFzJkr3wDTZv2bf4SU5x/vSeScLStkiH9ge7+/iRi//VSlx+DyWMS03kpGoy9Fn9bQqH8CzBne58uJR/Rg/kqs3DiC2Bzc5+1aJE00m7fUJ4I9zbM2i5Edq17MHjXsl0XzlKKWdlsr+uyv6+n/Z7XpvJ6cN4tthgH5LqQih9WzAeo3PwUKRWSb9uO81Lrs/U39XrpGlOE5kq7csJzCJMQboLC2AxNN34o99xqyCy2q3dcYkHUdMl5JZQ6Lg5LmNlzKOPz4CO2wg1WokDdl3fDGObjhD43XIXfeirjheKxx60FCxwov0d9f54xbCrUFIP/oVU/xscbXDh49MwCu3+nnD9B92psEWW2TGq+ZLL/SsViQ6+0zLOmDfosVtC/gJPgk/P7hkWI5mUQGfaSyxpsWaHW4Hux8LEmDYHrshM0BEWYQsQYkQuzqkg7KbDhIenznX74g/ippT8W9HILbT8ashqaA1WG1BNpNd2VeAxeNF3nvMI6LUvNJZCOJKdJ6iW84Uu2qRIYlkB2vrwTn0KFPL+zO+yReu4iw+sJy4rj6mRg3vRN5E8+d3mWJBzV9kmoNATA7wKt/rEh54liG2Kl8xfdfEIoAtLtyTg4mOMuEnKRBANfoV1eZJ4bbeBOdWtyjRAoJYJc0yt4KbVx6Hoz73B/G1iuuRbQSku7SXcBmwufnx3H0Yv1F5TPezqB41gspR8JOMSutgastr1GOVb6MqF2QkuORTYpZ3CPJ8z3en2+HvUUdVxIpFKuZDDYQYUzZqdm/7UTHHeej
Marc,
That’s it exactly!
Thank you!
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
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [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.