Subject: CGAL users discussion list
List archive
- From: Efi Fogel <>
- To:
- Subject: Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs
- Date: Wed, 6 Apr 2016 18:06:53 +0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:TW+W7RYGM3Wl+60PysCeYvL/LSx+4OfEezUN459isYplN5qZpcSybnLW6fgltlLVR4KTs6sC0LqG9fy5EjNeqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7D0p8SYPFsArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZj8ZLkyGLxEECw9YSdy/9zurRCFTA2V53JaXH9RiQtNGwGC7Rf0WdD6vSL+8+Z8wyKHJtalcbdhUjur6+JnSQTjlTwcHz8/6mDezMJq34xBpxf0ihJ+i6DTb4yRfK5zcKLTetwXQUJOW89QU2pKBYbqPNhHNPYIIesN99q1nFAJtxbrXQQ=
On Apr6, 2016, at 16:38 , Efi Fogel <> wrote:
> There comes a new question however : What is the faster way to compute the Minkowski sum of a circular n-gon with a Polygon_set_2<> ? Should I extract the constituent Polygon_with_hole_2<>’s , compute the Minkowski sum for each and then recombine all the results in a union ?
>
> This sounds like a good plan.
>
> Notice that Minkowski sum of polygons with holes was introduced in CGAL in 4.7. This released featured two implementations, namely, a superior method in most cases based on convolution, and a decomposition into convex pieces that enables Minkowski sum of polygon with holes based on decomposition. In addition, another optimization for the decomposition based method is expected to become available in version 4.9.
OK. Thank you Efi.
If it is plausible that computing the Minkowski sum directly on the Polygon_set_2 be even faster, then let me mark that a feature wish for a later release!
It's possible, especially since one of the summands is convex.
If and when you get to the point that you need to speed up your computation and you have sufficient test cases, drop a note, and we might be able to devise something.
Best regards,
Samuel
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Ch'Gans, 04/05/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 04/05/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Ch'Gans, 04/06/2016
- <Possible follow-up(s)>
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Samuel Hornus, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Samuel Hornus, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Samuel Hornus, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 04/06/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 04/05/2016
Archive powered by MHonArc 2.6.18.