Subject: CGAL users discussion list
List archive
[cgal-discuss] CGAL Arrangements: connecting edges to arbitrary points on a bezier curve. Feedback wanted.
Chronological Thread
- From: Kevin Morgan <>
- To:
- Subject: [cgal-discuss] CGAL Arrangements: connecting edges to arbitrary points on a bezier curve. Feedback wanted.
- Date: Mon, 6 Dec 2021 20:00:42 -0800
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-data: A9a23:Yo5pJK0H2AcP90a0SfbD5b9wkn2cJEfYwER7XOPLsXnJgjIl1TZSnWEcDWqFbviPM2H1e9l/a47j9EICucfXmN4SHQtv/xmBbVoa8JufXYzxwmTYZn7JcJWbFCqL1yivAzX5BJhcokT0+1H9bdANkVEmjfvRH+CkV7adUsxMbVYMpBkJ2UoLd9ER2dYAbeiRW2thiPuqyyHtEAfNNw1cbgr435m+RCZH55wejt+3UmsWPpintHeG/5Uc4Ql2yauZdxMUSaEMdgK2qnqq8V23wo/Z109F5tKNl7/6dggVR+eXM1TezHVRXKemj15JoSlaPqQTbqJNLxcKzWzTz5YtmL2htrToIestFq/SnesAQl8CS3glFaJD8b7DZ3O4tKR/ymWWIiOwnKQ2ZK0xFdRAprwf7Xt13fcXITRIYhGYjP+t25qgW+x0j4IiKtPqNcURoBldIZvxGa5zG9acV/yfvZkAyG1l3oYUTKeHc5FMMXwyeEuVSgNrEVIzJJIave6OumPbTTx9vAvN8PVzvXy7IBdZ1bHsNJ/Kf4XPS5kF2EmfoW3C8iLyBRRyCTBW8hLdmlrEuwMFtXqTtEMu+LyEGjpChVSSwikMDURTWwfr5/a+jUG6VpRULEl8Fu8GxUQt3BTDczU/d0TQTL24Uto0VN9ZEul84waIokYRyxjMHXAKF1atd/R/3PLbhlUWOpuhkNbgBDgpu7qQIZ5Y3t94shvqURUowaQ+iePogOfLDxQPYG3+s/4XcuteLQ==
- Ironport-hdrordr: A9a23:2FZk8as/Cza1JvzUSTw/YTUZ7skDnNV00zEX/kB9WHVpm5qj5rmTdZM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Qbu664DxVL3oo/9hqyASyr0NsdnXYdLVJFfAiLgJTuO1HLOPz4F+uwg0ywkDd3wPDLJqHuAprXIXjHibvuYLd961VAxwou1tBf/IlZCqoBIfL2Qk/+rsbUDh4/MwyuwuboEs9x1o0EWTHHPqjMO6zbtRqE5/kkPvKXTI4Tojf0bfY/tND0inpsulIDfK/h+JwNZ3m+VqBkPUCWfGuq2I9YSk8FuwM/SKrhj1jUAm0bXGq7Q69pvmJzM4mhF4qWHuhFb5SO2S66GttdYWUUUzhk8F/tfoSAHugJMWecfp8nnTsDWrysDYQm0EP23Ocf47ViJ+vQvCYfsMC7vOU=
Hi All,
I want to connect edges to arbitrary points on a bezier curve.
I've posted previously about using Arr_bezier_curve_traits. I want to use it with Algebraic vertices. which are not supported.
The main issue is that I want to connect edges to points on a Bezier that may not be endpoints.
There are a few ways that I might proceed, and I'd like some feedback from the authors and other users about that.
One approach I can take is to attempt to rework Arr_bezier_curve_traits to support Algebraic vertices. That seems daunting to me, because of the underlying exact representation, but I might be overestimating the difficulty and the issues that can arise.
Another way, suggested by Efi, is to use Arr_algebraic_segments_traits. The issue with that is that you provide the curves in an implicit form, and Beziers don't have an equivalent implicit form, as far as I can tell. Maybe there's some way to rework it to do what I want.
Yet another approach would be to just write my own support for Beziers, independent of that class. I'm familiar with the math involved, but not so much with the CGAL framework, and with template metaprogramming, so this would be a bit of a project. And it seems silly to do this if the functionality exists somewhere in the CGAL framework already.
A fourth approach would be to try to work around the issues in my application. Specifically, to replace any bezier segments that have algebraic vertices with new resampled segments that have rational vertices. This would lose information about the original curves. Also, It's not clear how well this would work, because there's not a guarantee about the precision or representation of the intersection points. But I can probably make it work as long as the intersection vertices all agree about the Algebraic to Rational mapping.
Comments and suggestions are welcome, and feel free to correct me about any errors or misunderstandings I have about any of this.
Thanks,
Kevin
- [cgal-discuss] CGAL Arrangements: connecting edges to arbitrary points on a bezier curve. Feedback wanted., Kevin Morgan, 12/07/2021
- Re: [cgal-discuss] CGAL Arrangements: connecting edges to arbitrary points on a bezier curve. Feedback wanted., Efi Fogel, 12/09/2021
Archive powered by MHonArc 2.6.19+.