pmwx_insert_info.h
来自「CGAL is a collaborative effort of severa」· C头文件 代码 · 共 89 行
H
89 行
// Copyright (c) 1997 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: /CVSROOT/CGAL/Packages/Arrangement/include/CGAL/Sweep_line_2/Pmwx_insert_info.h,v $// $Revision: 1.7 $ $Date: 2004/10/21 13:37:09 $// $Name: $//// Author(s) : Tali Zvi <talizvi@post.tau.ac.il>#ifndef CGAL_PMWX_INSERT_INFO_H#define CGAL_PMWX_INSERT_INFO_HCGAL_BEGIN_NAMESPACEtemplate<class _Halfedge_handle>class Pmwx_insert_info{public: typedef _Halfedge_handle Halfedge_handle; /*! Constructor */ Pmwx_insert_info() : m_halfedge(Halfedge_handle(NULL)), vertical_above_event_flag(false), vertical_below_event_flag(false) { } void set_halfedge_handle(Halfedge_handle h) { m_halfedge = h; } Halfedge_handle get_halfedge_handle() const { return m_halfedge; } bool get_vertical_above_event_flag() const { return vertical_above_event_flag; } bool get_vertical_below_event_flag() const { return vertical_below_event_flag; } void set_vertical_below_event_flag(bool flag) { vertical_below_event_flag = flag; } void set_vertical_above_event_flag(bool flag) { vertical_above_event_flag = flag; } void Print() { if ( m_halfedge == Halfedge_handle(NULL)) std::cout << "halfedge: NULL\n"; else std::cout << "halfedge: " << m_halfedge->source()->point() << " " << m_halfedge->target()->point() << "\n"; } private: Halfedge_handle m_halfedge; //Baruch bool vertical_above_event_flag; bool vertical_below_event_flag; };CGAL_END_NAMESPACE#endif // CGAL_PMWX_INSERT_INFO_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?