Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment
Chronological Thread
- From: Ahmed Essam <>
- To:
- Subject: Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment
- Date: Mon, 29 Nov 2021 15:01:47 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-data: A9a23:O2+PL6tgaLmUnXE33hsgrjq6hOfnVD1fMUV32f8akzHdYEJGY0x3zDNOWm6AOfmNMGKnf94lbY+wo0hV68SDzN81SQY5pS1EQiMRo6IpJ/zJdxaqZ3v6wu7rFR88sZ1GMrEsFC2FJ5Pljk/F3oPJ8D8sislkepKmULSdY3krFFc9IMscoUsLd9AR0tYAbeeRWFvlVePa+6UzCXf9s9JGGjp8B5Gr9HuDiM/PVAYw5TTSUxzkUGj2zBH5BLpHTU24wuCRroN8RoZWTM6bpF21E/+wwvsjNj+luu6TnkwiR7fTOU2WjiMTVfH90l5NoSs91qt9P/0ZAatVo2/RzpYhlZMX7MD2EFh5VkHPsLx1vx1wDyFzNLda9qLDZ3GymcOWxkzCNXDrxp2CCWlobdJBob8oaY1J3aVAdGplggq4r+m5ybb+Ruh3jdk4N+HwLYYHszdhyyvYBLAoW/j+rw/i8YcNhnFvkpkbRbCGc5BMMXw1PUWZd0YaYhFKHM1rtfmMrXzbXz18iVuzmbAT3Wn22FUphempbM69lseiQMxUmgOAojuD8T2mUlcVM9uQzTfD+XWp7tIjVBjTAOo6fIBUPNYw6LFS+oASNPHSfV6yoP38kkrnHtwGdBxS9S0poqw/skesS7ERmjXQTGGs5nYhtxh4SoXWKz1hDoLb5g+YAi4PSTsphBkOqpotXTJzvrOWt4qBONGs2YF5jVqS876VqXW5Pi19waoqDcMbZVNt3uQPa73fQv4CohiP3UJ1YhDI9enM/g23
- Ironport-hdrordr: A9a23:lh2nPqDdC1g64fzlHemc55DYdb4zR+YMi2TDpHoBLCC9E/b2qynK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kvruNPCEBA0KAO0w+P9B9V80oMSQ36AAqicMK/Kq1+H+vovI/WQZI8SoDvyN/cl6OTqjXMghFAdfLKp0ocKaHCjBfRrOF6ZYHrpgtcZC2gGpAs+TOrwiF2DSzFffXiyX7hvrgw9E5+sWIffWpi20vvGxza+BpQQZ2ZcC1nKH22vbJSBQ/5LaSScJYhqnTUAELSgUIQ8zgr9iQnh1rBHMu/Qry0EqYr4hp8y/PzWjRh09DpuDs3b3XvKVHBxhmpPRjk42+d0rkV5j1uCyqNlmOcLKNpI+vl1XxcmYJ7A0/RhWZe1QRPEZt7PSVC8Q9zgDyt2VcM029ZJYkBzHJKpgRnHmiarGLQIjKfYOJth+a3V2z39Jt121m3d/KgnlVgvBMVVZkO8gasq3gjWCoKBvl6CnqPiIbgc0SfX6GmeySyHsWlXVQdxVePOWnVJNRielsjw+k6XF+zmMr8gKAYUkaZqy4NPY9ztyE1CHbLtYYuOJW22nGi0CFCDwbbeNOICnk0S2SzcDA4PlAVBpR5u2iAxAy6gpyTVCzk8TDrS
Hi,
As stated in the error message, the intersection point of the Bezier curves does not have rational coordinates (but rather algebraic). Bezier curves in the Arrangement package require that their control points be rational, and hence you can't use these points as control points.
This is to be expected since the intersection point is the solution of two non linear equations representing the curves.
Best,
Ahmed.
On Mon, Nov 29, 2021, 8:17 AM Kevin Morgan <> wrote:
Hi,I'm using a CGAL::Arrangment and am trying to connect edges to the intersection of Beziers.In the application, I'm getting a precondition violation, complaining that the intersection is not rational.I tried to construct a synthetic example to reproduce the problem, which I've posted on stackoverflow, and it gets a segfault.But, assuming the segfault is just a bug, my question is really about the intended API for Beziers. Is it possible to connect an edge to a vertex which is the intersection of two Bezier curves? If so, what's the mechanism I'm supposed to use to avoid the precondition violation?Thanks in advance for your help.Kevin
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Kevin Morgan, 11/29/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Ahmed Essam, 11/29/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Efi Fogel, 11/29/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Kevin Morgan, 11/30/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Efi Fogel, 11/30/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Kevin Morgan, 11/30/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Efi Fogel, 11/30/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Kevin Morgan, 11/30/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Efi Fogel, 11/29/2021
- Re: [cgal-discuss] Using Bezier-Bezier intersections as vertices in an CGAL::Arrangment, Ahmed Essam, 11/29/2021
Archive powered by MHonArc 2.6.19+.