Subject: CGAL users discussion list
List archive
- From: Morteza Manavi <>
- To:
- Subject: [cgal-discuss] Convert arrangement output point
- Date: Sun, 16 Sep 2018 15:05:48 +0430
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:Oy4KAx8jTHtdpf9uRHKM819IXTAuvvDOBiVQ1KB40ekcTK2v8tzYMVDF4r011RmVBdqds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+55/ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRxDohikJNDA37X/ZhdBrga1BvB6svQZyz5LIbIyXMvd1Y6PTfckdRWpERstfUCtBApmgb4QRDusOJ/tToY7nqFsItxS+GwisD/7oxz9NgX/2x7E63PogEA7cwAAsA88CvGnJoNjuO6cSVPq6zKjMzTnZc/xW3jL95ZHOfxs8ov+MRap9fdTNxUQrDQ/IjVWdpZb7Mz+J1ekBqXWX4uhhWO+plmUpsRt+oiK1yccpkoTJhpwaylTD9ShhxYY6P9y4SEpibd6gEptcqjiWN4VrTs4gQmxkoik6yroBuZ60eCgF1o4ryALYa/yCa4SI4xTjW/iNITpgmn5pZLayiwyx/EWg0OHwSNW43VVQoiZYkNTBt2gB1xnJ5ciGTvt98F2h2TGK1w3L7+FEJlo0lbbFJJ8g2LE8ioYfvVneEiPrg0j2g6qWeV8l+uis8ejofrLmppqEO49ulg7+KrgumtC4AekgLgcOUHKU+eCl2LL+/E35W6lFjuAtkqnCq53aPsQapquhAwBPyIoj6hC/Dy2n0NsCh3UHIkhFK1q7iN3iNFjKZfz5FvyimE+EkTFxxvmAMKeyLI/KKy3ml639cKR0o2tVzgMtzJgL4pVOFrwTKaqrAxaonNPdBx49dQezxrC0W51GyooCVDfXUeeiO6TIvArQv7N9E6y3fIYQ/Q3FBb0g7v/qg2U+nAZEL6as1JoTLnu/G6Y/ehnLUT/Xmt4EVFwykE8mVuWz0Q+NVDdSYzC5WKduvmhmWrLjNp/KQ8WWuJLE3Cq/GccINGVPC1TJFXWxMovdBKlKZyWVLcts1DcDUOr5Rg==
Hi,
I define arrangement:
typedef CGAL::Cartesian<CGAL::Exact_rational> Kernel;
typedef Kernel::Circle_2 Circle_2;
typedef CGAL::Arr_circle_segment_traits_2<Kernel> Traits_2;
typedef CGAL::Arrangement_with_history_2<Traits_2> Arr_with_hist_2;
and I want to get a vertex position and use it for creation new circle in the arrangement but I should use a Point with rational type as circle position while the type of vertex position is
Sqrt_extension and CGAL do not convert Sqrt_extension to Rational. Now I do not know how to convert Sqrt_extension to Rational such that do not loss data.(convert exactly)
- [cgal-discuss] Convert arrangement output point, Morteza Manavi, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Morteza Manavi, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Morteza Manavi, 09/17/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Morteza Manavi, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
- Re: [cgal-discuss] Convert arrangement output point, Efi Fogel, 09/16/2018
Archive powered by MHonArc 2.6.18.