mirror of https://github.com/CGAL/cgal
Replace Weighted point by Point
This commit is contained in:
parent
adfeee84d9
commit
27ceec33b5
|
|
@ -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()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue