*** empty log message ***

This commit is contained in:
Mariette Yvinec 1998-08-06 14:49:56 +00:00
parent e61976478a
commit a5d45c5f8d
3 changed files with 24 additions and 17 deletions

View File

@ -54,15 +54,20 @@ CGAL_Window_stream&
operator<<(CGAL_Window_stream& os,
const CGAL_Delaunay_triangulation_2<Gt,Tds> &T)
{
//return (os << (CGAL_Triangulation_2<Gt, Tds>) T);
return (os << (CGAL_Triangulation_2<Gt, Tds>) T);
// c'est pas une bonne idee parceque le cast
// utilise le createur
//CGAL_Triangulation_2(const CGAL_Triangulation_2<Gt,Tds> &tr)
//qui recopie toute les faces
CGAL_Delaunay_triangulation_2<Gt,Tds>::Edge_iterator it = T.edges_begin();
while(it != T.edges_end()){
os << T.segment(it);
++it;
}
return os;
// CGAL_Delaunay_triangulation_2<Gt,Tds>::Edge_iterator it = T.edges_begin();
//
// while(it != T.edges_end()){
// os << T.segment(it);
// ++it;
// }
//
// return os;
}
#endif // CGAL_WINDOW_STREAM_DELAUNAY_TRIANGULATION_2_H
#endif // CGAL_DELAUNAY_TRIANGULATION_2_H
@ -76,15 +81,15 @@ operator<<(CGAL_Window_stream& os,
const CGAL_Constrained_triangulation_2<Gt,Tds> &T)
{
return (os << (CGAL_Triangulation_2<Gt, Tds>) T);
//return (os << (CGAL_Triangulation_2<Gt, Tds>) T);
// CGAL_Constrained_triangulation_2<Gt,Tds>::Edge_iterator it = T.edges_begin();
//
// while(it != T.edges_end()){
// os << T.segment(it);
// ++it;
// }
// return os;
CGAL_Constrained_triangulation_2<Gt,Tds>::Edge_iterator it = T.edges_begin();
while(it != T.edges_end()){
os << T.segment(it);
++it;
}
return os;
}
#endif // CGAL_WINDOW_STREAM_CONSTRAINED_TRIANGULATION_2_H

View File

@ -604,6 +604,7 @@ public:
v2 = new Vertex(tds.finite_vertex()->point());
V[tds.finite_vertex()]=v2;
set_finite_vertex(v2);
return;
}
// create the finite vertices
@ -674,6 +675,7 @@ public:
}while(++fc != done);
}
CGAL_triangulation_postcondition( is_valid() );
return;
}

View File

@ -1,4 +1,4 @@
#ifndef CGAL_TRIANGULATION_DS_CIRCULATORS_2_H
#ifndef CGAL_TRIANGULATION_DS_CIRCULATORS_2_H
#define CGAL_TRIANGULATION_DS_CIRCULATORS_2_H