Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Global numeration (indexing) of Constrained_Delaunay_triangulation_2 Vertex
Chronological Thread
- From: Maxime Gimeno <>
- To:
- Subject: Re: [cgal-discuss] Global numeration (indexing) of Constrained_Delaunay_triangulation_2 Vertex
- Date: Mon, 22 Mar 2021 08:31:39 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-hdrordr: A9a23:VtD3S6skYNKp8m7aGwKMrGHa7skCKIMji2hD6mlwRA09T+WzkceykPMHkSLlkTp5YgBYpfmsGomlBUnd+5l8/JULMd6ZNjXOlWO0IOhZnO7f6hL6HSmWzJ8+6Y5BdOxEBMT0HRxGi6/BkWqFOvIB5PXCz6yyn+fZyB5WLD1CT6179Q92BkK6PyRNNW17LKE0Hpad+cZLzgDIER8qR/+2CXUfU+/Iq8ejrvLbSCQbDB0q4hTmt0LO1JfGFXGjr3EjegIK77Nn1WTeiQT26uGYrvmnxnbnu1P73tB5nt3uz9cGKe6trowuKjvqghu1f4gJYdC/lQFwjueo5lMn1OPJvg5lBcJu8HncF1vbnTLdnzLt2jov9HPuoGX3vUfe
- Ironport-phdr: A9a23:jkVx+RxOeNdsVLHXCzIOzVBlVkAck4WxBRYc798ds5kLTJ7L16rrMEGX3/hxlliBBdydt6sVzbOK6OuxAiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagZb5+Ngi6oArfu8UZhYZvJLs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZoga1UrhKupRxxzYDXbo+IKvRxYrjQcskGSWdbRMtdSzBND4G6YoASD+QBJ+FYr4zlqlUJtxS/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Pd0hEQjP2YDfgU2+Bc0A8R7g5sFVP45Or4TtqNow0JVKBVYNd451YekGyA6V07MZunIKRvwFUZdlYv134=
You can have a look at that example : https://doc.cgal.org/latest/Triangulation_2/Triangulation_2_2info_insert_with_pair_iterator_2_8cpp-example.html
The principle is to use a Vertex_with_index and add the ids yourself while creating the triangulation.You can then access the ID with `Vertex_handle::info()`
Le ven. 19 mars 2021 à 23:46, Bruno Rammon <> a écrit :
I would like to know if it exists some kind of global numeration of the
vertices of a Constrained_Delaunay_triangulation_2. That is, I am wondering
if each vertex of a /created/ triangulation of that type that has a unique
index associated to it. If it does not exist, is there any kind of c++ data
structure that might uniquely distinguish each vertex? For example, a
pointer to an vertex object or something like that, so that I can create a
std::unordered_map<data_structure,int> which associate this data structure
to an unique index.
Best regards,
Bruno
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
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] Global numeration (indexing) of Constrained_Delaunay_triangulation_2 Vertex, Bruno Rammon, 03/19/2021
- Re: [cgal-discuss] Global numeration (indexing) of Constrained_Delaunay_triangulation_2 Vertex, Maxime Gimeno, 03/22/2021
- Re: [cgal-discuss] Global numeration (indexing) of Constrained_Delaunay_triangulation_2 Vertex, Andreas Fabri, 03/22/2021
Archive powered by MHonArc 2.6.19+.