⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 segment_delaunay_graph_vertex_base_with_info_2.h

📁 很多二维 三维几何计算算法 C++ 类库
💻 H
字号:
// Copyright (c) 2003,2004,2006  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.//// $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.3-branch/Segment_Delaunay_graph_2/demo/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_vertex_base_with_info_2.h $// $Id: Segment_Delaunay_graph_vertex_base_with_info_2.h 37003 2007-03-10 16:55:12Z spion $////// Author(s)     : Menelaos Karavelas <mkaravel@cse.nd.edu>#ifndef CGAL_SEGMENT_DELAUNAY_GRAPH_VERTEX_BASE_WITH_INFO_2_H#define CGAL_SEGMENT_DELAUNAY_GRAPH_VERTEX_BASE_WITH_INFO_2_H#include <CGAL/Segment_Delaunay_graph_2/basic.h>#include <CGAL/Triangulation_ds_vertex_base_2.h>#include <CGAL/Segment_Delaunay_graph_storage_site_2.h>#include <CGAL/Segment_Delaunay_graph_simple_storage_site_2.h>CGAL_BEGIN_NAMESPACEtemplate < class Vbb, class Info_ >class Segment_Delaunay_graph_vertex_base_with_info_2  : public Vbb{public:  // TYPES  //------  typedef Vbb                                      Base;  typedef Info_                                    Info;  typedef typename Base::Storage_traits            Storage_traits;  typedef typename Base::Geom_traits               Geom_traits;  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_Delaunay_graph_vertex_base_with_info_2<Vb2,Info> Other;  };  Segment_Delaunay_graph_vertex_base_with_info_2 () : Vbb(), info_() {}  Segment_Delaunay_graph_vertex_base_with_info_2(const Storage_site_2& ss,						 Face_handle f)    : Vbb(ss, f), info_()  {}  void set_info(const Info& info) { info_ = info; }  const Info& info() const { return info_; }private:  Info info_;};CGAL_END_NAMESPACE#endif // CGAL_SEGMENT_DELAUNAY_GRAPH_VERTEX_BASE_WITH_INFO_2_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -