Subject: CGAL users discussion list
List archive
- From: Yue Biek <>
- To:
- Subject: [cgal-discuss] problem conserning about extensible kernel
- Date: Sun, 17 Jul 2011 00:44:57 +0800
Hi,
When I study the Extensible Kernel,I meet a problem,which described as follows:
I wish to create a C_Kernel for my C_Point2 class(all in the attachment), and I create a constructor initializer
for the C_point2 class which takes four parameters.the pronlem turns out as i wish to initialize the point.
part of the code in the C_Kernel is:
typedef C_Point2 Point_2
in main() I just call the constructor initializer
Point p(1.0f,2.0f,3,2)
then it turns out to wrong,complier says that the class has no constructor initializer that takes 4 parameters.
And i found the Point_2 is not the point which I defined in the C_Point2 ,But when i changed the code as
typedef C_Point2 Point.
Then the program go right. I wish to know why? May be my depict are not clear,a example has been attached
in the attachment and my complier is VS2008 in Win7.
Thank you!
Attachment:
problem.rar
Description: application/rar
- [cgal-discuss] problem conserning about extensible kernel, Yue Biek, 07/16/2011
- Re: [cgal-discuss] problem conserning about extensible kernel, Sebastien Loriot (GeometryFactory), 07/18/2011
- Re: [cgal-discuss] problem conserning about extensible kernel, Yue Biek, 07/19/2011
- Re: [cgal-discuss] problem conserning about extensible kernel, Sebastien Loriot (GeometryFactory), 07/18/2011
Archive powered by MHonArc 2.6.16.