Subject: CGAL users discussion list
List archive
[cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
Chronological Thread
- From: Frédérik Paradis <>
- To:
- Subject: [cgal-discuss] Questions on architecture of CGAL with respect to adding a feature
- Date: Tue, 16 Feb 2016 09:24:03 -0500
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:+G0D+xRpcKmf8udqA4mfozMkttpsv+yvbD5Q0YIujvd0So/mwa64YBeN2/xhgRfzUJnB7Loc0qyN4/+mBTdLv8zJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvipNuPOE4W3nKUWvBbElaflU3prM4YgI9veO4a6yDihT92QdlQ3n5iPlmJnhzxtY+a9Z9n9DlM6bp6r5YTGfayQ6NtRrNRCHEqMns++dbwnRjFVwqGoHUGAUsMlR8dLRJE4JDgX5S5iiLgv+Z8w2HOM9X/V7lsBGSK8qB3VBb3gWEMPmhqoynslsVsgfcD81qarBtlztuMbQ==
Hi everyone,
I'm currently developing a module for CGAL for the Well-separated pair decomposition (WSPD) (See [1]). It is actually the first time I use CGAL so I do not fully understand yet the overall architecture of CGAL. So I have a couple of questions about how my module should work.I developed it in 2D first because I wanted to develop an Ipelet for Ipe, but I want to develop it in d dimension. So, the first questions is when do you do many module for 2, 3 and dimension and when do you do only one module for d dimension?
I'm currently using the class Point_container which seems really tied with the Kd-tree. Should I use that or implement the splitting part myself? Also, this class take in a parameter an iterator of that typedef:
typedef std::vector<const Point_d*> Point_vector;
typedef std::vector<const Point_d*> Point_vector;
It seems contrary to the coding rules of CGAL which has led me to believe it was more an internal class for the Split tree than anything else.
Also, when computing the WSPD, it requires the comparison of the distance between two circles and a factor times the radius of the two circles. For now, I'm just using CGAL::to_double and the sqrt function. Is there any other way a should do that?
That's all for my questions but I will surely have more later.
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, 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.