📄 qt_widget_linear_object_2.h
字号:
// 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: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.3-branch/Arrangement_2/include/CGAL/IO/Qt_widget_Linear_object_2.h $// $Id: Qt_widget_Linear_object_2.h 35587 2006-12-18 09:37:55Z lsaboret $// $Date: 2006-12-18 10:37:55 +0100 (Mon, 18 Dec 2006) $// //// Author(s) : Ron Wein <wein@post.tau.ac.il>// Efi Fogel <efif@post.tau.ac.il>#ifndef CGAL_QT_WIDGET_POLYLINE_2_H#define CGAL_QT_WIDGET_POLYLINE_2_H#include <CGAL/IO/Qt_widget.h>#include <CGAL/Arr_linear_traits_2.h>CGAL_BEGIN_NAMESPACE/*! * Export a polyline to a window stream */template <class K>Qt_widget & operator<<(Qt_widget & ws, const Arr_linear_object_2<K> & o){ if(o.is_segment()) { ws << o.segment(); return ws; } if(o.is_ray()) { ws << o.ray(); return ws; } CGAL_assertion(o.is_line()); ws << o.line(); return ws;}CGAL_END_NAMESPACE#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -