// Copyright (c) 2001 Tel-Aviv University (Israel). // All rights reserved. // // This file is part of CGAL (www.cgal.org); you may redistribute it under // the terms of the Q Public License version 1.0. // See the file LICENSE.QPL distributed with CGAL. // // Licensees holding a valid commercial license may use this file in // accordance with the commercial license agreement provided with the software. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $Source$ // $Revision$ $Date$ // $Name$ // // Author(s) : Eti Ezra #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