Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
Chronological Thread
- From: Frédérik Paradis <>
- To:
- Subject: Re: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
- Date: Fri, 26 Feb 2016 15:07:47 -0500
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:Zep5RRXlmfP+GcbthVzoame8urzV8LGtZVwlr6E/grcLSJyIuqrYZhCCt8tkgFKBZ4jH8fUM07OQ6PC/HzJbqs/Y4TgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2MJVsTz2PkMPtbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN/dwcbsNBzsvNyU55dbgqALYZQqJ/HoVFGsMwTRSBA2Qwgt7UhbrsyiyjuNn0SWbJoWiQ6g9Qz36svdDVRj0lC4YPngy+TeE2YRLkKtHrUf59FREyInObdTNOQ==
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 <>:
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
- [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.