📄 segment_voronoi_diagram_vertex_base_with_info_2.h
字号:
// Copyright (c) 2003,2004 INRIA Sophia-Antipolis (France) and// Notre Dame University (U.S.A.). 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/Segment_Voronoi_diagram_2/demo/Segment_Voronoi_diagram_2/include/CGAL/Segment_Voronoi_diagram_vertex_base_with_info_2.h,v $// $Revision: 1.3 $ $Date: 2004/09/03 08:33:46 $// $Name: $//// Author(s) : Menelaos Karavelas <mkaravel@cse.nd.edu>#ifndef CGAL_SEGMENT_VORONOI_DIAGRAM_VERTEX_BASE_WITH_INFO_2_H#define CGAL_SEGMENT_VORONOI_DIAGRAM_VERTEX_BASE_WITH_INFO_2_H#include <CGAL/Segment_Voronoi_diagram_short_names_2.h>#include <CGAL/Triangulation_ds_vertex_base_2.h>#include <CGAL/Segment_Voronoi_diagram_storage_site_2.h>#include <CGAL/Segment_Voronoi_diagram_simple_storage_site_2.h>CGAL_BEGIN_NAMESPACEtemplate < class Vbb, class Info_ >class Segment_Voronoi_diagram_vertex_base_with_info_2 : public Vbb{public: // TYPES //------ typedef Vbb Base; typedef Info_ Info; typedef typename Base::Geom_traits Geom_traits; typedef typename Base::Point_handle Point_handle; typedef typename Base::Site_2 Site_2; typedef typename Base::Storage_site_2 Storage_site_2; typedef typename Base::Data_structure Data_structure; typedef typename Data_structure::Face_handle Face_handle; typedef typename Data_structure::Vertex_handle Vertex_handle; template < typename DS2 > struct Rebind_TDS { typedef typename Vbb::template Rebind_TDS<DS2>::Other Vb2; typedef Segment_Voronoi_diagram_vertex_base_with_info_2<Vb2,Info> Other; }; Segment_Voronoi_diagram_vertex_base_with_info_2 () : Vbb(), info_() {} Segment_Voronoi_diagram_vertex_base_with_info_2(const Storage_site_2& ss, Face_handle f) : Vbb(ss, f), info_() {} void set_info(int info) { info_ = info; } Info info() const { return info_; }private: Info info_;};CGAL_END_NAMESPACE #endif // CGAL_SEGMENT_VORONOI_DIAGRAM_VERTEX_BASE_WITH_INFO_2_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -