Subject: CGAL users discussion list
List archive
- From: Alessandro Attanasi <>
- To:
- Subject: [cgal-discuss] Extensible Kernel deeper information
- Date: Mon, 20 Jan 2014 23:25:01 +0100
Hi all,
I'm going to learn how to plug user defined class into existing CGAL kernels.
I read all the documentation
and I copy all the example codes concerning the MyPointC2 class into the manual to run them. At the beginning I was not able to compile because it needs the MySegmentC2.h file that I didn't find into the manual, so I comment out everything about it.
I'm writing to better understand this procedure, for example how to change the code in order to have coordinates of MyPoint to be generic (using template??), to have more info about MyKernel.h that into the documentation is explicitly said to not explain details, how predefined Kernels as EPIC could be used?
As last point I don't understand the sentence
"As we enforce type equality between
MyKernel::Point_2
and Point_2<MyKernel>
, the constructor with the color as third argument is not available."because I tried to create with the example code a point having into the consructor the color too, an it works.
Thanks
Alessandro
- [cgal-discuss] Extensible Kernel deeper information, Alessandro Attanasi, 01/20/2014
- Re: [cgal-discuss] Extensible Kernel deeper information, Sebastien Loriot (GeometryFactory), 01/22/2014
Archive powered by MHonArc 2.6.18.