Subject: CGAL users discussion list
List archive
- From: Marc Alexa <>
- To:
- Subject: Re: [cgal-discuss] Type of dD Triangulation Finite iterators?
- Date: Thu, 28 May 2020 15:52:45 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:AfvTth9rd8wCWf9uRHKM819IXTAuvvDOBiVQ1KB30OscTK2v8tzYMVDF4r011RmVBNidsqgawLCH+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhIiTanfL9+MhS7oQrPusQSnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahMxsg6xUrx2vuhJxw4DKbo6XN/RwebjQfc8DRWpEQspRVzBND4G6YoASD+QBJ+FYr4zlqlUJtxS+HxWjD/7zxz9MmHD30rc12PkmHAHDxgMgBc4BvG7Oo9XxKqgTXvq6wbLHzTXGdfxW2DP95JLUfRAmpPGBRLR9etfexkczDQ3KlEmQqZD7MDOP0OQAq2uW4/dvW++yhGArtgN8ryayy8owioTEm4EYxk3G+Ch93Ys4K8C1RUx7b9OqH5Vetz2XOoh1T84+TG9lpig0x7MAtJWmfyYK0IwqywDDZ/GDaYSF4RLuWPyPLTtmmX5pYr2yihSq/US9xeDwS9O43EhEoyZfj9XBtW0B2wbN5sWJTPZ2412v1iyV1w/J7+FJOUA0mrTfK54m2rMwk4AcsUXHHiPvlkT2lrKaelwq+uWn6enreLrmppibN497jgHxLL4ildC4AeQ9KgQOXm6b9vqg1LD740H1XLFHguc1n6TZqpzWO9oXqrOjDwJa0Isv8xO/AC2n0NQck3kHNlVFeBefgojsIV7OOuz3Ae2ljFSojjhqyOrJM6buApXINHfDkbPhcaxh5E5bzQo/1cpf6I5MCrEdPPLzXVf8u8DXDhAjNwy42vvoCNRm1owCRGKPGbSZPbjJsV6I4+IvO/ODaJUUuDb7Mfgl5uThgWU3mV8HLuGV2s4cZ3m8W/hnOE6EemHEg9EbEG5MsBBtYvbtjQinWCRYL1+2UrI1rmU+AZitS47HS5CkqLOE1Sa/WJZRYzYVWRi3DX70etDcCL83YyWIL5o5y2FWZf2aU4YkkCqWmkr6xr5gdLeG/yQZsdf8zoEw6bGM0x418jNwAoKW1GTfFzglzFNNfCc/2eVEmWI4z16C1aZihPkBTI5c4vpIVkExMpuOlrUmWeC3YRrIe5KycHjjWs+vWGhjQdc4wttIaEF4SY2v
>
> You could use unordered_map<T::Vertex*, int> and VH[&*vit] (or operator->)
> which then works both for finite and regular iterators but that's not super
> convenient either.
>
>> This works for the non-finite iterators. Which, frankly, took me some time
>> to figure out. I believe this construction can also be found in the CGAL
>> source code, at least for 3D triangulations.
>
> You could file an issue on github asking to document how to get a handle
> from a finite iterator and/or provide a conversion operator. It isn't hard,
> but I cannot promise than anyone will get to it anytime soon.
Thanks, now that I have some solutions that’s fine for me.
-Marc
- [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Alexa, 05/27/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Glisse, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Alexa, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Glisse, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Alexa, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Glisse, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Alexa, 05/28/2020
- Re: [cgal-discuss] Type of dD Triangulation Finite iterators?, Marc Glisse, 05/28/2020
Archive powered by MHonArc 2.6.19+.