Improve CLI
This commit is contained in:
parent
1140c5bca3
commit
6666e665e2
3 changed files with 70 additions and 57 deletions
|
|
@ -52,7 +52,8 @@ int main()
|
|||
}
|
||||
|
||||
if (!poly.is_counterclockwise_oriented()) {
|
||||
poly.reverse_orientation();
|
||||
std::cerr << "Error: Polygon must be counter-clockwise" << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
SsPtr ss = CGAL::create_interior_straight_skeleton_2(poly.vertices_begin(), poly.vertices_end(), K());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue