// Copyright (c) 2005 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. // // $URL$ // $Id$ // $Date$ // // // Author(s) : Ron Wein // Efi Fogel #ifndef CGAL_QT_WIDGET_POLYLINE_2_H #define CGAL_QT_WIDGET_POLYLINE_2_H #include #include CGAL_BEGIN_NAMESPACE /*! * Export a polyline to a window stream */ template Qt_widget & operator<<(Qt_widget & ws, const _Polyline_2 & cv) { for (unsigned int i = 0; i < cv.size(); ++i) ws << cv[i]; return ws; } CGAL_END_NAMESPACE #endif