Subject: CGAL users discussion list
List archive
- From: piter <>
- To:
- Subject: [cgal-discuss] Sorting Polygon with (or without) holes
- Date: Wed, 3 Feb 2021 05:06:51 -0600 (CST)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=Pass
- Ironport-phdr: 9a23:Tf2pGRweQZ+UjkzXCy+O+j09IxM/srCxBDY+r6Qd2+4RIJqq85mqBkHD//Il1AaPAdyKra4ewLCO++C4ACpcuMnH6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3OgV6PPn6FZDPhMqrye+y54fTYwJVjzahfL9+Nhq7oRjVu8UMjoZuNKk9xgXVrnBVf+ha2X5kKUickhrh5Mq85oJv/zhVt/k868NOTKL2crgiQ7dFFjomKWc15MPqtRnHUwSC42YXX3sVnBRVHQXL9Qn2UZjtvCT0sOp9wzSaMtbtTb8oQzSi7rxkRwHuhSwaKjM26mDXish3jKJGvBKsogF0zoDIbI2JMvd1Y6XQds4YS2VcRMZcTyJPDIOiYYUMEuQOMvpXoYbmqlsSrxayGRWgCP/zxjNWgHL9wK000/4mEQHDxAEgB9MOsGjKo9XvKawfVue1w7TSwjXMa/NW2C3y5ZPSfRA7vf6MXah8ftTNyUkvFgLJlEmfqYz8Mj6Ty+8CvHSV4fB6WuKzl24otRtxoj63y8sxiYTEmIIYx1DL+Chn3Ys4Jt+1RkFlbNOkFJZduT2XOoV2TM4jXW1luDg3x7watJO/YiUHx5oqyhDRZvKHc4aF5A/oWuiWITd9nn1lebS/ig6u/kiv0OL8UtO40FFQripKitXMsGoC2AfI5ciDVPRx5Fuu2TGK1w3V9+pKIlg0mLLGJ5MlxrM8jJQevEfZEiL1mUj6lq6be0Qi9+O18eroeK/mqYWZN4JsigHxLKAumsunDOQ+PQUCRW6b9v6n27L4+U32Xq9GgeExkqncqJzaJMIbqbClAwJNz4ou7xKyAy2o3dkbh3UKL1NIdAiGgoXoI13OJer3Dfa7g1SiijdrwPXGM6XmAprQNHfDn7Phfbdn5ENH0gUz18xQ55JOBr4fPPLzWk7wuMbEAR85KwC02froCM1h1oMCXmKCGrOWMKzIvl+M/+4gPuiMZJQJtzbgMPgl/OXjjWQ5mF8YZammx4EbaHG+HvR8IkWWe2DggtkbETRCgg1rR+PjjBiOUCVYem2pd6M6/DAyToy8XqnZQYX4mL2d0T3zSppab29CC1mkGG3jd8OJR/ceLimSdJwy2gcYXKSsHtdynSqlsxX3nuI+c7jkvxYAvJem7+Bbou3ekRZrqG5yU4Kb2muHS2wylWQNFWZvjfJP5Hdlw1LG6pBWxvlRFNhd/fRMC1toPITXz6p3F9DgHAnBLI/QFASWB+6+CDR0deofhscUah8hSdy4hRCF0jaqEfkel+7TCQ==
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+.