mirror of https://github.com/CGAL/cgal
Fix example
This commit is contained in:
parent
b074e328fa
commit
ce3fe4f04e
|
|
@ -61,7 +61,12 @@ main(int argc, char* argv[])
|
||||||
pB.push_back(Point_2(1,1));
|
pB.push_back(Point_2(1,1));
|
||||||
pB.push_back(Point_2(-1,1));
|
pB.push_back(Point_2(-1,1));
|
||||||
mpwh = CGAL::Polygon_repair::join(mpwh, pB);
|
mpwh = CGAL::Polygon_repair::join(mpwh, pB);
|
||||||
|
|
||||||
|
std::ofstream out("joinn.wkt");
|
||||||
|
CGAL::IO::write_multi_polygon_WKT(out, mpwh);
|
||||||
|
#ifdef CGAL_USE_BASIC_VIEWER
|
||||||
CGAL::draw(mpwh);
|
CGAL::draw(mpwh);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue