Subject: CGAL users discussion list
List archive
- From: Sebastien Loriot <>
- To:
- Subject: Re: [cgal-discuss] Sorting Polygon with (or without) holes
- Date: Mon, 8 Feb 2021 10:01:48 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:ZaXhHxxzA7eeIHPXCy+O+j09IxM/srCxBDY+r6Qd2u8WIJqq85mqBkHD//Il1AaPAdyKra8ewLSG+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhMiTanYb5+Mhq6oATSu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406HzZhNJ+jKxboxyvqRJwzIHWb46JO/RzZb/dcNEASGZdQspcWS5MD4WhZIUPFeoBOuNYopHgqVQQthSxHxKsBP/uyjBWgH/9wKs00+M7EQHH2wwgA88FvXPPrNXxM6cSS+G1zK7UzTnZavNW3Szw6IfNch87oPGMWah8ftbWyUkqDg7IiEibpoP5MT2PzOsNr3Sb4PR6VeKpk2MppBx9rDasy8ovloTEho0Yx1/Y+Cll3oo4Kt61RUpmbNK5E5ZeuC6UOpZqTs4tTW9lpSg0x70btZC0fyUH1IgqyhjCYPKJdIiI5wjsVOeXITpgmH1ld6iwhxKo/Uin0O38WdG40FBQoSVeidbMsm4C2wbP5ciAT/tw+Fqq1zWX1w3L9O1IPUQ5mbDYJpMh2LI8i4QfvEfZEiL5mkj6lLGaeV849uS17unofKnqqYWZOoNqlg3yL6Ejl8KlDugmLgQDWmuW9Oq/2bH/+ED0Q6hFguM1n6TcsJ3VO8oWq6G8DgJbyYku5QiwAjG729oCh3YHNkhKeBefgojpJV7OJPf4AO+6g1u2kTdrw+nKP7PkApnQN3TDnrjscLRn505Tzwozyt9f55ZKBb0bPP3zXUrxuMTZDh8/LQO03/7qBMth2o4aQ26CAa+UPLnPvVOW5e8jOeaBaY0NtDb4Mfcl5vrujXEjmV8aeKmkxYAXaHS/HvR8IkWZZmbsjs0EEWcOpQc+Q+nqh0eDUT5XfXq9Q6U85jQjBIK8EYjDXpytgKCG3CqjApJWaXpJClSVHXj1doWEQOsDaD+JIs96iTEETrigS4o51R60rgP6yrxnLvDV+iICr57j2sJ1tKXvkkQ5+jVwSsicyGqQVHpcn2USRjZw0rosj1Z6zwK43KJxmOBZGNobw/RTUwAmfcrHy+tgCtfuHAfFVtiMQVeiBN6hBGdiHZoK39YSbhMlSJ2ZhRfZ0n/yWuNHp/mwHJUxt5nk8T3pPc8kkiTJ0aAgix8tRc4dbTT71J46zBDaAsvyq2vcl6uucv5BjivE9WPG0m/X+U8ED0h/VqLKWX1ZbUzT/4ygtxHyCoS2ALFiCTNvjMuLK69EcNrs1AwUS/LqOdCYaGW0yT69
What do you mean by "minimum transfer distance"?
Would sorting the polygon lexicographically using their left most point sufficient?
Sebastien.
On 2/3/21 12:06 PM, piter wrote:
Hi everyone,
I'm looking for a way to sort a set of polygons_2 for traversing the whole
set with the minimum transfer distance.
Checking out the available packages, this one
(https://doc.cgal.org/latest/Spatial_searching/index.html) and this one
(https://doc.cgal.org/latest/Spatial_searching/index.html) look promising,
but I was wondering if someone with more experience could give their
opinion.
Moreover, as the entering point of each polygon does not need to coincide
with its first vertex, I was looking into this package
(https://doc.cgal.org/latest/Polytope_distance_d/index.html#Chapter_Optimal_Distances).
The set of polygons could look something like the following image.
<http://cgal-discuss.949826.n4.nabble.com/file/t376274/ssk.jpg>
Now, this is the output of offsetting the initial polygon (with ssk), and as
such a way to sort the list could be to look at the skeleton, but I would
like to set up a more generic approach.
Pietro
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Sorting Polygon with (or without) holes, piter, 02/03/2021
- Re: [cgal-discuss] Sorting Polygon with (or without) holes, Sebastien Loriot, 02/08/2021
Archive powered by MHonArc 2.6.19+.