Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
Chronological Thread
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
- Date: Fri, 26 Feb 2016 21:10:21 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:jM+zOResOZ4jyGCgLPiDxxU7lGMj4u6mDksu8pMizoh2WeGdxc6/Yh7h7PlgxGXEQZ/co6odzbGG7Oa+AidZu83JmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvipNuNOE4R3mH1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdXBTBjP2Eu79DwrjHCSxGO7z0SSDY4iB1NViHD4Av3V4y5nCLwrOs1jCCcMdf7RKtyVz2o9aZDRxLvjSobLS83+WrLjdZhyqlcpUTy9FRE34fIbdTNZ7JFdaTHcIZCSA==
- Organization: GeometryFactory
That could be unified. Progress never stops.
best,
andreas
On 26/02/2016 21:07, Frédérik Paradis wrote:
Sorry for my mistakes and yet I reread it before sending. It should have
been:
whereas Circle_2 only takes three points or a center with a radius
2016-02-26 15:02 GMT-05:00 Frédérik Paradis
<
<mailto:>>:
The code you showed has:
(distance_vw - 2.*max_rad) > s*max_rad
which I can rewrite:
distance_vw > (s+2)*max_rad
and I can square both sides.
Sure, in some cases removing the square roots can be harder, but
it is doable.
Alright, I see thank you.
Try harder? That is the most natural way in CGAL. If you have
trouble with it, maybe you can ask here with specific code.
Maybe there is a real obstruction that prevents from using this
solution here, but you would likely be asked to explain it
before integrating code that uses a different strategy.
Actually, my problem is that the constructor of Sphere_d is not the
same as constructing a Circle_2. Sphere_d takes an iterator of
Point_d whereas Point_2 only takes three points or a center with a
radius. Do you know how I could work around that?
Thank you.
Frédérik
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/16/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/16/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Sebastien Loriot (GeometryFactory), 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Marc Glisse, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Marc Glisse, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Andreas Fabri, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Marc Glisse, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/27/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Marc Glisse, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
- Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature, Frédérik Paradis, 02/26/2016
Archive powered by MHonArc 2.6.18.