Subject: CGAL users discussion list
List archive
[cgal-discuss] Looking for example of 2D beziers from non-rational control points...
Chronological Thread
- From: Stuart Hungerford <>
- To:
- Subject: [cgal-discuss] Looking for example of 2D beziers from non-rational control points...
- Date: Sun, 11 Feb 2018 08:00:28 +1100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:bl04Vx/kKhc/8/9uRHKM819IXTAuvvDOBiVQ1KB41u8cTK2v8tzYMVDF4r011RmVBdyds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+54Dfbx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRh/mhikEKjA37n3Yh9dsjK5Huh+tuwBzz5LWbYyTKfFwfrndfdQfRWdZQ8hRSzFBDZmmb4sTEuEPP/tYr4/yp1QQtxu+Cw6sBPnyxTRVgXL2xrE60/k7HgHcwAwsBdIOsGnSrNX6KqgSS+61zK7SzTredP5W1jL955LJchAlu/2DQbVwcc/IxEQpCgjLjU2QpJT7Mz+J0ukBqWuW4up6We6yimMrtht9riWty8swjITCm5gbxUre9SpjxYY4Pd24R1B/Yd6jCJZQsjuVN4pyQs87Q2Bptjo2xqQIuZKmfiUG1I4rxxHYa/yAfIiI5gzsWPyNLjd/gXJpYLO/hxCs/ki80uDwSNW43VJQoidGktTArG0B2h3O5sSdV/dw/Fut1S6K1w/J6+FEJU40lbDcK54k2rMwjYYTsVnZES/shEX6lq+Wdlgi+uin9evneLvmppiGN4BpkQz+PaEulda+AeQ8KAQBQ2+b+eGk2L354UL5WKlKjuExkqTBrJ/aKt4UpqqgDwBI04Yj8AqwDyq90NQDhnQHN1JEeBefj4fzIV3OIfb4De2+g1u2ijtryerGbfXdBcDGIXHH1bvgZr1g8FV0yQwpzNkZ6YgHJKsGJafIRlL4rsCQLgI/PAGuzeH9BJ0pzZ8DUHiTRK+ENqzfq1GP/O4HLOyFZYtTszH4fat2r8XyhGM0zAdONZKi2oEaPSjhT6ZWZn6BaH+pue8vVGIDvw4wVuvv0QTQXjtaZnL0VKU5tGhiVNCWSLzbT4Xou4SvmT+hF8QPNG9DA1GIV3zvctfcAqpeWGepOsZk1wc8e/2hRosmj0/8sQb7z/92MbKR9HRH7dTs09964+CVnhY3p2R5
Hi,
I have some data files with exported control points for 2D bezier
curves of degree 2 and 3 only. The control points are exported as
floating point double precision values.
I believe to create CGAL Beziers I'll need to first convert these
floating point coordinates to rational approximations?
I don't need to perform intersections with the resulting curves, just
find their bounding boxes (AABB) and re-export them later with
floating point control points.
Does anyone have a small example of doing something like this in CGAL?
I'm working my way through the examples in the
Arrangement_on_surface_2 directory which all seem to operate only in
rationals.
Thanks in advance,
Stu
- [cgal-discuss] Looking for example of 2D beziers from non-rational control points..., Stuart Hungerford, 02/10/2018
- Re: [cgal-discuss] Looking for example of 2D beziers from non-rational control points..., Efi Fogel, 02/13/2018
- Re: [cgal-discuss] Looking for example of 2D beziers from non-rational control points..., Stuart Hungerford, 02/14/2018
- Re: [cgal-discuss] Looking for example of 2D beziers from non-rational control points..., Efi Fogel, 02/13/2018
Archive powered by MHonArc 2.6.18.