From e85ca42af0ea006c3ffe72425cd5f67aa9c6e6d6 Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Thu, 8 Nov 2007 09:47:59 +0000 Subject: [PATCH] CGAL_error -> CGAL_error_msg, where needed --- .../CGAL/Arr_great_circular_arc_on_sphere_traits_2.h | 4 ++-- .../Arr_spherical_gaussian_map_3.h | 6 +++--- .../Arr_spherical_topology_traits_2_impl.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_great_circular_arc_on_sphere_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_great_circular_arc_on_sphere_traits_2.h index 6c558afc787..a1ee3f90c25 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_great_circular_arc_on_sphere_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_great_circular_arc_on_sphere_traits_2.h @@ -546,7 +546,7 @@ public: Comparison_result operator()(const Point_2 & point1, const Point_2 & point2) const { - CGAL_error( "There is no vertical identification arc!"); + CGAL_error_msg( "There is no vertical identification arc!"); return SMALLER; } }; @@ -2305,7 +2305,7 @@ public: CGAL_precondition(has_on(point)); CGAL_precondition(z_sign(plane.orthogonal_direction()) != ZERO); #if !defined(CGAL_FULL_X_MONOTONE_GREAT_CIRCULAR_ARC_ON_SPHERE_IS_SUPPORTED) - CGAL_error( "Full x-monotone arcs are not supported!"); + CGAL_error_msg( "Full x-monotone arcs are not supported!"); #endif } diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h index e239dca0f6a..9d1ef41676f 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_gaussian_map_3/Arr_spherical_gaussian_map_3.h @@ -409,13 +409,13 @@ public: /*! Clear the internal representation and auxiliary data structures */ void clear() { - CGAL_error( "Not implemented yet!"); + CGAL_error_msg( "Not implemented yet!"); } /*! returns true if the representation is empty */ bool is_empty() const { - CGAL_error( "Not implemented yet!"); + CGAL_error_msg( "Not implemented yet!"); return true; } @@ -425,7 +425,7 @@ public: */ unsigned int degree(Vertex_const_handle vh) const { - CGAL_error( "Not implemented yet!"); + CGAL_error_msg( "Not implemented yet!"); return vh->degree(); } #endif diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_topology_traits_2_impl.h b/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_topology_traits_2_impl.h index 36c4aa97452..bdba717d2ee 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_topology_traits_2_impl.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_topology_traits_2_impl.h @@ -58,7 +58,7 @@ template void Arr_spherical_topology_traits_2:: assign(const Self & other) { - CGAL_error( "Not implemented!"); + CGAL_error_msg( "Not implemented!"); // Clear the current DCEL and duplicate the other DCEL. m_dcel.delete_all();