mirror of https://github.com/CGAL/cgal
Cannot assign to a reference
This commit is contained in:
parent
873e83a429
commit
10df561578
|
|
@ -153,7 +153,7 @@ namespace CGAL
|
||||||
h = next(h,P);
|
h = next(h,P);
|
||||||
Point const& p2 = get(vpmap, target(h,P));
|
Point const& p2 = get(vpmap, target(h,P));
|
||||||
h = next(h,P);
|
h = next(h,P);
|
||||||
Point const& p3 = get(vpmap, target(h,P));
|
Point p3 = get(vpmap, target(h,P));
|
||||||
|
|
||||||
while( h!=done && collinear(p1,p2,p3) )
|
while( h!=done && collinear(p1,p2,p3) )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,10 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <CGAL/Polyhedron_3.h>
|
#include <CGAL/Surface_mesh.h>
|
||||||
#include <CGAL/IO/Polyhedron_iostream.h>
|
|
||||||
|
|
||||||
typedef CGAL::Simple_cartesian<double> Kernel;
|
typedef CGAL::Simple_cartesian<double> Kernel;
|
||||||
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
|
typedef CGAL::Surface_mesh<Kernel::Point_3> Polyhedron;
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace CGAL;
|
using namespace CGAL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue