Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Looping through particles that make up the vertices of the Delaunay triangulation and updating their positions

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Looping through particles that make up the vertices of the Delaunay triangulation and updating their positions


Chronological Thread 
  • From: Julien Tailleur <>
  • To:
  • Subject: Re: [cgal-discuss] Looping through particles that make up the vertices of the Delaunay triangulation and updating their positions
  • Date: Sun, 12 Apr 2020 13:02:34 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:0pAlCx/41v15L/9uRHKM819IXTAuvvDOBiVQ1KB21+0cTK2v8tzYMVDF4r011RmVBNidsa0P0Lee8/i5HzBZvdDZ6DFKWacPfiFGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq8kbjZF8JqszxRfErHtFcPlSyW90OF6fhRnx6tq/8ZJ57yhcp/ct/NNcXKvneKg1UbNXADM6Pm4v+cblrwPDTQyB5nsdVmUZjB9FCBXb4R/5Q5n8rDL0uvJy1yeGM8L2S6s0WSm54KdwVBDokiYHOCUn/2zRl8d9kbhUoBOlpxx43o7UfISYP+dwc6/BYd8XQ3dKU8BMXCJDH4y8dZMCAfcfM+ZWr4fzpFUAohWxCgauGOzhxSRFhmP10KAgz+gtDQ/L0Q4mEtkTsHrUttL1NKIKXO6x0anIyTTDYO1Q2Tzg9obHaBEhofWIXb1ubMrR01QkGgTHjlWNrYzlPi2a1uIXv2iH9eVgVOavi2o5pAFsuDii3dosio/IhoIL01zE7T92wJw0Jd2jUUJ0fN+kH4ZOuCGAMIt2XtkuQ29yuCsjzLANpJC1fC8PyJs9xh7fbeSKc5WO4hLiSuadOC94i2h/eLK+nBa+6FWvyuzhWcaqylZKqTZFnsPCtnAX0RHY98uJSuNl80u83TuC2Brf5v9ELE07j6bWKoMtzqQtmpcdsknPBiz7lUTsgKOIeUgp+PKk5/rob7n7vJOQKpN4hwfjOao0gMO/G/43Mg0WUmib5+u80Lrj8FX6QLVNlP02la3Zv47EJcgBu665BQ5V0pg65xanFTimytUYnWIFIV5fdhKHlZDlO1DIIP/mEfeym0mgnTNkyvzcILHsAprAImLCnbv8Z7px9kBRxQkrwdBa/Z1UC7UBIPzpWk/2sdzVFh05MxGww+bmFtp90JkSWX6VDa+YNKPStUGH5v81I+SXeY8Vvjf9K+Y86/72l3A5g14dfbKw0ZQKaXC3A+ppI1+eYXrwmNsBH30KshIkTOP2kF2CTSJTZ3GqUq0g6TE0EoamAZ7eSYCsm7yOwDq7HoZNZm1dEVCNEXLod52eVPsWaSKSJNVhkj0eWrS7RY8hz0LmiAivwLVuKq/Y+zYTqIn4/Nlz/eza0x8ophJuCMHI8XyJTmxy1l8BRjsy0b1l6Rh/11OC3K4+n/VZEdhe+ulhTwE7K9vExvZ7EJX+Ww7MZNCVDli8FIb1SQotR848loddK312HM+v20iagniaRoQNnrnOP6Qat6LR23+re5R+zGzB0KQ/yUQgQ9UKLWS8h7UgsQbJVdaQzxep0p2yfKFZ5xbjsX+ZxDDV7lxeURA1SazfXGtaakraoM7++gXMVe32UOV1Ak560ceHb5ByRJjshFRCSu3kPY6FMX+3mnn1HR+Sx6jJYIvmdn8awGPTEhpdng==

On 10/04/2020 19:20, khurshid juraev wrote:
HI, Julian.

One solution might be maintaining a set(for ex. std::set) of vertex handles
and run through this set when you are updating positions.

Hi Khurshid,

thanks for your suggestion. I am getting back to C++ after a long break writing all my codes in C, so I am a bit rusty !

Do you mean that I would have a set of N elements, one per particle, each of which would be a handle that points to the vertex corresponding to the corresponding particles? Would the mapping between the elements of the set and the positions of the vertex in the graph be preserved upon rearrangement of the latter? If you do not mind suggesting a minimal code, that would be helpful ! No worries if you do not have the time, I will keep digging !

Best,

Julien



--
Dr Julien Tailleur
Laboratoire MSC
Université Paris Diderot
Bâtiment Condorcet
10 rue Alice Domon et Léonie Duquet
75205 Paris cedex 13
Tél : +33 (0)1 57 27 70 64
Fax : +33 (0)1 57 27 62 11
web : http://www.msc.univ-paris-diderot.fr/~jtailleu/




Archive powered by MHonArc 2.6.18.

Top of Page