mirror of https://github.com/CGAL/cgal
cleanup - mainly suggested by Shriramana Sharma
This commit is contained in:
parent
c9f1fa974b
commit
be12d8abcd
|
|
@ -16,7 +16,6 @@ int main ()
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/CORE_algebraic_number_traits.h>
|
||||
#include <CGAL/Arr_Bezier_curve_traits_2.h>
|
||||
#include <CGAL/Arrangement_2.h>
|
||||
#include <CGAL/Gps_traits_2.h>
|
||||
#include <CGAL/Boolean_set_operations_2.h>
|
||||
#include <CGAL/Timer.h>
|
||||
|
|
@ -94,8 +93,8 @@ bool read_Bezier_polygon (const char* filename, Polygon_with_holes_2& P)
|
|||
Polygon_2 pgn(xcvs.begin(), xcvs.end());
|
||||
CGAL::Orientation orient = pgn.orientation();
|
||||
|
||||
if ((pgns.empty() && orient == CGAL::CLOCKWISE) ||
|
||||
(! pgns.empty() && orient == CGAL::COUNTERCLOCKWISE))
|
||||
if ((pgns.empty() && (orient == CGAL::CLOCKWISE)) ||
|
||||
(! pgns.empty() && (orient == CGAL::COUNTERCLOCKWISE)))
|
||||
pgn.reverse_orientation();
|
||||
|
||||
pgns.push_back(pgn);
|
||||
|
|
|
|||
Loading…
Reference in New Issue