// ====================================================================== // // Copyright (c) 2001 The CGAL Consortium // // This software and related documentation is part of an INTERNAL release // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // // ---------------------------------------------------------------------- // // release : $CGAL_Revision: CGAL-2.3-I-62 $ // release_date : $CGAL_Date: 2001/05/11 $ // // file : include/CGAL/IO/Arr_iostream.h // package : Arrangement (1.82) // maintainer : Eyal Flato // author(s) : Eti Ezra // coordinator : Tel-Aviv University (Dan Halperin ) // // ====================================================================== #ifndef CGAL_ARR_IOSTREAM_H #define CGAL_ARR_IOSTREAM_H #include #include #include #include #include CGAL_BEGIN_NAMESPACE template inline ::std::ostream & operator << (::std::ostream & o, const Arrangement_2 & arr) { typedef Arrangement_2 Arr_2; typedef Arr_file_writer Writer; //print_OFF(o, arr); Writer writer(o, arr); write_arr(arr, writer, o); return o; } template inline ::std::istream & operator >> (std::istream & in, Arrangement_2 & arr) { // reads a polyhedron from `in' and appends it to P. arr.read(in); return in; } CGAL_END_NAMESPACE #endif