mirror of https://github.com/CGAL/cgal
Add a test
This commit is contained in:
parent
4d67ff3d8b
commit
efb6794a6c
|
|
@ -66,6 +66,10 @@ void test_polygon(const R&, const Point&, const char* FileName)
|
|||
CGAL::Orientation orientation =
|
||||
CGAL::orientation_2(polygon.begin(), polygon.end());
|
||||
|
||||
polygon.clear();
|
||||
assert(CGAL::is_simple_2(polygon.begin(), polygon.end()));
|
||||
assert(CGAL::is_convex_2(polygon.begin(), polygon.end()));
|
||||
|
||||
cout << "left = " << *left << endl;
|
||||
cout << "right = " << *right << endl;
|
||||
cout << "top = " << *top << endl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue