Subject: CGAL users discussion list
List archive
- From: Biswajit Biswas <>
- To:
- Subject: Re: [cgal-discuss] Arrangement_2 accept mixed type of curves
- Date: Mon, 25 Dec 2017 15:51:25 +0530
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:WFH7IBfWlUiY3bdGUd17HqLwlGMj4u6mDksu8pMizoh2WeGdxcS+Yx7h7PlgxGXEQZ/co6odzbaO6ua4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahfL9+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM28m/XhMx+gqxYvRyvuQBwzpXRYI2JLvdzZL/Rcc8YSGdHQ81fVzZBAoS5b4YXEucBPP1YrofnqFsMrBu+GRSnCf7uyj9TiH75x7Y62PkmHA7d3QwgBNwPv27WrNX0KKceS/y6zLLSwTnec/9bwjj96I3SfRAgpfGAR65/cc3UyUQ2EQ7Ok1ueqYvgPzyP1+QNtXCW7+x6Wu20kGEnrx9+riKzyccrj4nFnoMVylbe9SV42ok5P9O4SFR9bNW5E5VQrzmXO5VqTs4mWW1luyY3xqcYtZKmfiUG0okryhzbZvGBboOG+AjsVPyLLjd9nH9leKywhxK18UW4z+3zTMi00FJToipYiNbAqmkB1xLO5sWFTvZx5Eih2TGI1wDc7uFLP1o4mrbcK54k2rIwl5wTvlrfHiLuhkn6kKubel8n9+Wo8ejrfKjqq52GO4NpiAzzNrwimsmlDuQ5NggOUXKb+eO51LD75kL5Qa5Kj/MsnanbsZDaOd4XqbKiAwNPz4ov9w2yDzij0NsCnHkHKEhJdw6Aj4jsI13OOuz3De+jg1Swlzdm3+zJPrL7DZXJN3TMjbbhfa1h5E5B0woz1stS54lUC7EEOPL8QFX9tN3eDh8jMgy72fzrCNtn1tBWZGSUH6XMML/OqUTaoaU0MuyUbckUviz8Ir4r/bn1nHohkBgce6eumpAYYXT9EvV9KFiCeinQhYIKHm4O+wY/V+f3k0aqUDhJZn/0UbhvyCs8DdeMDJzcT4KsnPSr3TykF4YeMmpHEU+FE3b0MY6fHa5UQC2XK85l1DcDUO7yGMcayRiyuVqimPJcJe3O93hAuA==
dear all;
On Sat, Dec 23, 2017 at 8:12 PM, Efi Fogel <> wrote:
1. You can use all kind of data-structures and extensions to retain the association.For example, you can use Arrangement_with_history_2 to retain the association of the resulting x-monotone curves and their original polyline curve inserted into the arrangement. You can extend the halfedge record with a pointer or reference to your original curve.
2. Arr_polycurve_traits_2<GeometryTraits_2> is not able to handle a curve that contains multiple types of subcurve.____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/On 23 December 2017 at 11:53, EvanPi <> wrote:I just take a look at the polyline traits class but the thing is that if I
approximate all curves using a large number of points, I would lose track of
which subsets of point defines which type of curve, which could be a problem
in case I want to delete them and insert a new type of curve. But I do find
something I overlooked, which is the polycurve traits class. According to
the documentation, "The traits class
Arr_polycurve_traits_2<GeometryTraits_2> handles piecewise curves that are
not necessarily linear, such as conic arcs, circular arcs, Bezier curves, or
line segments". Is it able to handle a curve that contains multiple types of
subcurve? If so, could you provide a quick example?
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
thanks and regards
mobile:9163016823
Attachment:
0.jpg
Description: JPEG image
- [cgal-discuss] Arrangement_2 accept mixed type of curves, EvanPi, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, Efi Fogel, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, EvanPi, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, Efi Fogel, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, Biswajit Biswas, 12/25/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, Efi Fogel, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, EvanPi, 12/23/2017
- Re: [cgal-discuss] Arrangement_2 accept mixed type of curves, Efi Fogel, 12/23/2017
Archive powered by MHonArc 2.6.18.