diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-24 17:58:52 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-24 17:58:52 (GMT) |
commit | 95947a877b8e88521a7f00348d56c89e9b7c2a79 (patch) | |
tree | 57880eb4bcea99e4acbe18d3f10dc1561743b6cc /src/cgalutils.cc | |
parent | 26046f6f0c4a774cbbb2af8ae7dc0e687963440c (diff) |
Ported recent changes to the EPEC kernel
Diffstat (limited to 'src/cgalutils.cc')
-rw-r--r-- | src/cgalutils.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgalutils.cc b/src/cgalutils.cc index 8b4c476..bb46f1c 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -193,7 +193,8 @@ void ZRemover::visit( CGAL_Nef_polyhedron3::Halffacet_const_handle hfacet ) std::vector<CGAL_Nef_polyhedron2::Explorer::Point> contour; CGAL_For_all( c1, cend ) { CGAL_Nef_polyhedron3::Point_3 point3d = c1->source()->target()->point(); - CGAL_Nef_polyhedron2::Explorer::Point point2d( point3d.x(), point3d.y() ); + CGAL_Nef_polyhedron2::Explorer::Point point2d(CGAL::to_double(point3d.x()), + CGAL::to_double(point3d.y())); contour.push_back( point2d ); } if (contour.size()==0) continue; |