diff --git a/Packages/Polygon/include/CGAL/Polygon_2_algorithms.C b/Packages/Polygon/include/CGAL/Polygon_2_algorithms.C index b1be22381b8..7ffd5e8e6be 100644 --- a/Packages/Polygon/include/CGAL/Polygon_2_algorithms.C +++ b/Packages/Polygon/include/CGAL/Polygon_2_algorithms.C @@ -1,4 +1,4 @@ -// ============================================================================ +// ====================================================================== // // Copyright (c) 1997 The CGAL Consortium // @@ -6,7 +6,7 @@ // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // -// ---------------------------------------------------------------------------- +// ---------------------------------------------------------------------- // // release : $CGAL_Revision: CGAL-0.9-I-06 $ // release_date : $CGAL_Date: 1998/03/11 $ @@ -19,7 +19,7 @@ // // coordinator : Utrecht University // -// ============================================================================ +// ====================================================================== #include @@ -583,7 +583,7 @@ bool Simplicity_test_2::consecutive_edges( int e1, int e2) const { int n = NumberOfVertices(); - return ( abs(e2-e1) == 1 || abs(e2-e1) == n-1 ); + return ( CGAL_NTS abs(e2-e1) == 1 || CGAL_NTS abs(e2-e1) == n-1 ); } //-----------------------------------------------------------------------// diff --git a/Packages/Polygon/include/CGAL/Polygon_traits_2.h b/Packages/Polygon/include/CGAL/Polygon_traits_2.h index 4a332658c1e..d551ba28217 100644 --- a/Packages/Polygon/include/CGAL/Polygon_traits_2.h +++ b/Packages/Polygon/include/CGAL/Polygon_traits_2.h @@ -1,4 +1,4 @@ -// ============================================================================ +// ====================================================================== // // Copyright (c) 1997 The CGAL Consortium // @@ -6,7 +6,7 @@ // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // -// ---------------------------------------------------------------------------- +// ---------------------------------------------------------------------- // // release : $CGAL_Revision: CGAL-0.9-I-06 $ // release_date : $CGAL_Date: 1998/03/11 $ @@ -19,7 +19,7 @@ // // coordinator : Utrecht University // -// ============================================================================ +// ====================================================================== #ifndef CGAL_POLYGON_TRAITS_2_H #define CGAL_POLYGON_TRAITS_2_H @@ -85,12 +85,12 @@ class Polygon_traits_2_aux : public _R int sign(const FT& x) const { - return ::CGAL::sign(x); + return CGAL_NTS sign(x); } bool is_negative(const FT& x) const { - return ::CGAL::is_negative(x); + return CGAL_NTS is_negative(x); } bool do_intersect(const Point_2& p1,