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: Thu, 31 Mar 2016 15:58:05 +0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:qkfqjR1V9n2aJArJsmDT+DRfVm0co7zxezQtwd8ZsegVL/ad9pjvdHbS+e9qxAeQG96Lu7Qf06GL7ujJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6CyZ/vnL3vs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLXqz+Oqg5VrdFFy8OMmYv5cStuwOQYxGI4y4xXGRevB1HDgyNuBz0X5n2vSb+nuV40Siee8bxSOZnCnyZ8653RUqw2288PDkj/TSPhw==
Yes, of course Monique is right. As a matter of fact, there is more to the story.
The approximate version, uses the Arr_circle_segment_traits_2 geometry traits model, which uses a certain number type called Sqrt_extension. This number type also represents algebraic numbers of degree 2, but has some constrains, which increases the efficiency of the supported operations. These constraints, naturally, limits its usages.The exact version uses code that can handle conic arcs, so as far as number types are concerned (and as far as I can tell), it should suffice also for computing the offset of generalized polygons that comprise linear segments and circular arcs.
The bottom line doesn't change---the input must be a (linear) polygon.
However, perhaps with some limited effort, at least the exact version, can be extended to handle the desired generalized polygons.
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/
On Thu, Mar 31, 2016 at 3:00 PM, Monique Teillaud <> wrote:
On 31 Mar 2016, at 08:08, Efi Fogel <> wrote:What you describe may end up with a generalized polygon that have consecutive arcs. Representing the vertices requires a higher order algebraic number.Hi,A quick comment only on this specific aspect. Intersecting two circles should not require higher degree than intersecting a circle and a line. In both cases, it is degree 2.Best,--Monique Teillaud
http://www.loria.fr/~teillaud/
INRIA Nancy - Grand Est, LORIA
Institut National de Recherche en Informatique et Automatique
- [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Samuel Hornus, 03/30/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Monique Teillaud, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Pratyush Pranav, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Monique Teillaud, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Pratyush Pranav, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Monique Teillaud, 03/31/2016
- Re: [cgal-discuss] Inset and offset of General_polygon_set_2 with circle arcs, Efi Fogel, 03/31/2016
Archive powered by MHonArc 2.6.18.