diff --git a/Packages/Intersections_2/web/intersection_2_2.fw b/Packages/Intersections_2/web/intersection_2_2.fw index 7a1968d6ef0..8f39ce03c44 100644 --- a/Packages/Intersections_2/web/intersection_2_2.fw +++ b/Packages/Intersections_2/web/intersection_2_2.fw @@ -48,18 +48,18 @@ Saarbruecken@) CGAL_BEGIN_NAMESPACE template -struct _Pointlist_2_rec { - _Pointlist_2_rec *next; +struct Pointlist_2_rec_ { + Pointlist_2_rec_ *next; Point_2 point; Oriented_side side; }; template -struct _Pointlist_2 { +struct Pointlist_2_ { int size; - _Pointlist_2_rec *first; - _Pointlist_2() ; - ~_Pointlist_2() ; + Pointlist_2_rec_ *first; + Pointlist_2_() ; + ~Pointlist_2_() ; }; template @@ -88,7 +88,7 @@ protected: Triangle_2 const * _trian2; mutable bool _known; mutable Intersection_results _result; - mutable _Pointlist_2 _pointlist; + mutable Pointlist_2_ _pointlist; }; @@(Triangle_2@,Triangle_2@) @@ -160,16 +160,16 @@ which it should do, probably. CGAL_BEGIN_NAMESPACE template -_Pointlist_2::_Pointlist_2() +Pointlist_2_::Pointlist_2_() { size = 0; first = 0; } template -_Pointlist_2::~_Pointlist_2() +Pointlist_2_::~Pointlist_2_() { - _Pointlist_2_rec *cur; + Pointlist_2_rec_ *cur; for (int i=0; inext; @@ -183,7 +183,7 @@ _Pointlist_2::~_Pointlist_2() @$@+=@{ template -void _init_list(_Pointlist_2 &list, +void _init_list(Pointlist_2_ &list, const Triangle_2 &trian) { // check on degeneracies of trian. @@ -191,8 +191,8 @@ void _init_list(_Pointlist_2 &list, list.size = 3; list.first = 0; for (int i=0; i<3; i++) { - _Pointlist_2_rec *newrec = - new _Pointlist_2_rec; + Pointlist_2_rec_ *newrec = + new Pointlist_2_rec_; newrec->next = list.first; list.first = newrec; newrec->point = trian[i]; @@ -212,12 +212,12 @@ CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE template -void _cut_off(_Pointlist_2 &list, +void _cut_off(Pointlist_2_ &list, const Line_2 &cutter) { int i; int add = 0; - _Pointlist_2_rec *cur, *last, *newrec; + Pointlist_2_rec_ *cur, *last, *newrec; for (i=0, cur = list.first; inext) { cur->side = cutter.oriented_side(cur->point); last = cur; @@ -233,7 +233,7 @@ Add vertices on the cutter. // add a vertex after cur add++; Line_2 l(cur->point, last->point); - newrec = new _Pointlist_2_rec; + newrec = new Pointlist_2_rec_; newrec->next = last->next; last->next = newrec; newrec->side = ON_ORIENTED_BOUNDARY; @@ -249,7 +249,7 @@ Add vertices on the cutter. @} remove the vertices on the right side of the line. @$@+=@{@- - _Pointlist_2_rec **curpt; + Pointlist_2_rec_ **curpt; curpt = &list.first; while (*curpt != 0) { cur = *curpt; @@ -317,7 +317,7 @@ Triangle_2_Triangle_2_pair::intersection( intersection_type(); if (_result != TRIANGLE && _result != POLYGON) return false; - _Pointlist_2_rec *cur; + Pointlist_2_rec_ *cur; int i; for (i=0, cur = _pointlist.first; i<_pointlist.size; @@ -343,7 +343,7 @@ Triangle_2_Triangle_2_pair::vertex(int n) const { CGAL_kernel_assertion(_known); CGAL_kernel_assertion(n >= 0 && n < _pointlist.size); - _Pointlist_2_rec *cur; + Pointlist_2_rec_ *cur; int k; for (k=0, cur = _pointlist.first; k < n;