From 3b6c45efa6fa9f83dc97751493dc41fdb245dcc1 Mon Sep 17 00:00:00 2001 From: Peter Hachenberger Date: Tue, 17 Apr 2007 07:29:00 +0000 Subject: [PATCH] removed warnings --- Nef_S2/include/CGAL/Nef_S2/SM_triangulator.h | 5 +++-- Nef_S2/include/CGAL/Nef_S2/Sphere_geometry_OGL.h | 10 +++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Nef_S2/include/CGAL/Nef_S2/SM_triangulator.h b/Nef_S2/include/CGAL/Nef_S2/SM_triangulator.h index 3da3e45fa90..f118eb1dffa 100644 --- a/Nef_S2/include/CGAL/Nef_S2/SM_triangulator.h +++ b/Nef_S2/include/CGAL/Nef_S2/SM_triangulator.h @@ -599,7 +599,7 @@ complete_support(SVertex_iterator v_start, SVertex_iterator v_end, for (SVertex_iterator v = v_start; v != v_end; ++v) { CGAL_NEF_TRACEN(" vertex = "< 0 ? (point(v).x() >= 0) : (point(v).x()<=0)) ); m_buffer = incident_mark(first_out_edge(v)->sprev()); - } + } + } CGAL_NEF_TRACEN(" face mark below "<& p, CGAL::Color c = CGAL::BLACK, unsigned w = 10) : VPoint(Approximator::approximate(p)), p_(p), c_(c), w_(w) {} - Sphere_point(const Sphere_point& p) : VPoint(p) + Sphere_point(const Sphere_point& p) : VPoint(p), Gen_object() { p_ = p.p_; c_ = p.c_; w_ = p.w_; } Sphere_point& operator=(const Sphere_point& p) { VPoint::operator=(p); p_ = p.p_; c_ = p.c_; w_ = p.w_; @@ -277,7 +277,7 @@ public: Sphere_segment(const CGAL::Sphere_segment& s, CGAL::Color c = CGAL::BLACK, unsigned w = 2) : VSegment(Approximator::approximate(s)), s_(s), c_(c), w_(w) {} - Sphere_segment(const Sphere_segment& s) : VSegment(s) + Sphere_segment(const Sphere_segment& s) : VSegment(s), Gen_object() { s_ = s.s_; c_ = s.c_; w_ = s.w_; } Sphere_segment& operator=(const Sphere_segment& s) { VSegment::operator=(s); s_ = s.s_; c_ = s.c_; w_ = s.w_; @@ -330,7 +330,7 @@ public: Sphere_circle(const CGAL::Sphere_circle& s, CGAL::Color c = CGAL::BLACK, unsigned w = 2) : VSegment(Approximator::approximate(s)), s_(s), c_(c), w_(w) {} - Sphere_circle(const Sphere_circle& s) : VSegment(s) + Sphere_circle(const Sphere_circle& s) : VSegment(s), Gen_object() { s_ = s.s_; c_ = s.c_; w_ = s.w_; } Sphere_circle& operator=(const Sphere_circle& s) { VSegment::operator=(s); s_ = s.s_; c_ = s.c_; w_ = s.w_; @@ -377,7 +377,7 @@ public: CGAL::Color c = CGAL::Color(100,100,120)) : VTriangle(Approximator::approximate(t)), t_(t), c_(c) {} - Sphere_triangle(const Sphere_triangle& t) : VTriangle(t) + Sphere_triangle(const Sphere_triangle& t) : VTriangle(t), Gen_object() { t_ = t.t_; c_ = t.c_; } Sphere_triangle& operator=(const Sphere_triangle& t) @@ -489,7 +489,7 @@ void print() const std::cerr << std::endl; } -Unit_sphere(const Unit_sphere& S) : switches(2) +Unit_sphere(const Unit_sphere& S) : OGL_base_object(), switches(2) { CGAL_NEF_TRACEN("copyconstruction"); sphere_ = gluNewQuadric(); initialized_ = S.initialized_;