Subject: CGAL users discussion list
List archive
- From: ppmm <>
- To:
- Subject: [cgal-discuss] point converter between two kernels
- Date: Mon, 7 Mar 2011 13:25:19 -0800 (PST)
I want to convert point from :Exact_predicates_exact_constructions_kernel to
Exact_predicates_inexact_constructions_kernel. I tried the following, but it
has compiling error.
Thanks a lot for your help.
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef Kernel::Point_2 Point_2;
typedef CGAL::Polygon_2 Polygon_2;
typedef CGAL::Polygon_with_holes_2 Polygon_with_holes_2;
typedef std::list Pwh_list_2;
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_2 Vb;
typedef CGAL::Delaunay_mesh_face_base_2 Fb;
typedef CGAL::Triangulation_data_structure_2 Tds;
typedef CGAL::Constrained_Delaunay_triangulation_2 CDT;
typedef CGAL::Delaunay_mesh_size_criteria_2 Criteria;
typedef CGAL::Delaunay_mesher_2 Mesher;
typedef CGAL::Triangulation_2 Triangulation;
typedef CDT::Vertex_handle Vertex_handle;
typedef CDT::Point Point;
//new define
typedef std::list MPlist;
typedef CGAL::Cartesian_converter converter;
Point p1,p2;
Point_2 p3(0,1);
p1 = converter(p3) ;
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/point-converter-between-two-kernels-tp3340042p3340042.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] point converter between two kernels, ppmm, 03/07/2011
- Re: [cgal-discuss] point converter between two kernels, Sebastien Loriot (GeometryFactory), 03/08/2011
- [cgal-discuss] Re: point converter between two kernels, ppmm, 03/09/2011
- Re: [cgal-discuss] Re: point converter between two kernels, Sebastien Loriot (GeometryFactory), 03/09/2011
- [cgal-discuss] Re: point converter between two kernels, ppmm, 03/09/2011
- Re: [cgal-discuss] Re: point converter between two kernels, Sebastien Loriot (GeometryFactory), 03/10/2011
- [cgal-discuss] Re: point converter between two kernels, ppmm, 03/09/2011
- Re: [cgal-discuss] Re: point converter between two kernels, Sebastien Loriot (GeometryFactory), 03/09/2011
- [cgal-discuss] Re: point converter between two kernels, ppmm, 03/09/2011
- Re: [cgal-discuss] point converter between two kernels, Sebastien Loriot (GeometryFactory), 03/08/2011
Archive powered by MHonArc 2.6.16.