Replace Weighted point by Point

This commit is contained in:
Maxime Gimeno 2019-03-21 16:10:18 +01:00
parent adfeee84d9
commit 27ceec33b5
1 changed files with 2 additions and 2 deletions

View File

@ -65,10 +65,10 @@ output_c3t3_to_vtk_unstructured_grid(const C3T3& c3t3,
vit != end; vit != end;
++vit) ++vit)
{ {
typedef typename Triangulation::Weighted_point Weighted_point; typedef typename Triangulation::Point Point;
if(vit->in_dimension() > -1) if(vit->in_dimension() > -1)
{ {
const Weighted_point& p = tr.point(vit); const Point& p = tr.point(vit);
vtk_points->InsertNextPoint(CGAL::to_double(p.x()), vtk_points->InsertNextPoint(CGAL::to_double(p.x()),
CGAL::to_double(p.y()), CGAL::to_double(p.y()),
CGAL::to_double(p.z())); CGAL::to_double(p.z()));