Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Method for populating container with finite_vertices?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Method for populating container with finite_vertices?


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: Re: [cgal-discuss] Method for populating container with finite_vertices?
  • Date: Thu, 28 Apr 2016 13:41:06 -0700
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:NikcdBZGZ5YZFidarYFKFpL/LSx+4OfEezUN459isYplN5qZpcWzbnLW6fgltlLVR4KTs6sC0LqG9fC8EjVcv96oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDivc2PKFwU2nKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQqIjULYNDCg6K3tno4rwpBzbRE2O4GEdWyMYiF1TEg3d5Vb7WJn29SD1v+441CiBNtDtVuMIXmGp4K5vDRPpkywaLCUR8WfNi8U2grgIjgimoklWz4fRKK6YKPF+c6fZNYcTSWNEGMlcSydBD4e4R4QKBusFe+1fqt+u9BM1sRKiCFz0V6vUwThSiyqu0A==

Okay, thanks Sebastien and Andreas!

--
Adam Getchell
about.me/adamgetchell

> On Apr 28, 2016, at 12:54 PM, Sebastien Loriot (GeometryFactory)
> <>
> wrote:
>
> On 04/28/2016 09:50 PM, Andreas Fabri wrote:
>>
>> std::vector<Vertex_handle> V(t.finite_vertices_begin(),
>> finite_vertices_end());
>>
>> or the same with std::vector::insert(b.e)
>
> @Andreas I guess you meant std::vector<Vertex>.
> @Adam, since Finite_vertex_iterator is convertible to Vertex_handle
> you need a tranform_iterator that do not dereference the iterator.
>
> Better do a classic for-loop
>
> Sebastien.
>
>>
>> andreas
>>
>>
>> On 28/04/2016 21:26, Adam Getchell wrote:
>>> Hi all,
>>>
>>> Just in case I missed it in the documentation, is there a method which
>>> pushes all finite_vertices into a std::vector<Vertex_handle>?
>>>
>>> (I know it’s trivial to write with the Finite_vertex_iterator, checking
>>> to see if I even need that.)
>>>
>>> --
>>> Adam Getchell
>>> about.me/adamgetchell <http://about.me/adamgetchell>
>>>
>>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>




Archive powered by MHonArc 2.6.18.

Top of Page