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

📄 constructions_rth2.h

📁 很多二维 三维几何计算算法 C++ 类库
💻 H
字号:
// Copyright (c) 2003  INRIA Sophia-Antipolis (France).// 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/Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Constructions_rtH2.h $// $Id: Constructions_rtH2.h 31283 2006-05-25 11:28:23Z mkaravel $// //// Author(s)     : Menelaos Karavelas <mkaravel@cse.nd.edu>#ifndef CGAL_APOLLONIUS_GRAPH_2_CONSTRUCTIONS_RTH2_H#define CGAL_APOLLONIUS_GRAPH_2_CONSTRUCTIONS_RTH2_H#include <CGAL/determinant.h>#include <CGAL/Apollonius_graph_2/Constructions_ftC2.h>CGAL_BEGIN_NAMESPACEtemplate < class RT, class We >inlinevoidad_circumcenterH2(const RT &hx1, const RT &hy1, const RT &hw1,		  const We &w1,		  const RT &hx2, const RT &hy2, const RT &hw2,		  const We &w2,		  const RT &hx3, const RT &hy3, const RT &hw3,		  const We &w3,		  RT       & cx, RT       & cy, RT       & cw){  We cwt;  ad_circumcircleH2(hx1, hy1, hw1, w1,		    hx2, hy2, hw2, w2,		    hx3, hy3, hw3, w3,		    cx, cy, cw, cwt);}template < class RT, class We >inlinevoidad_circumcircleH2(const RT &hx1, const RT &hy1, const RT &hw1,		  const We &w1,		  const RT &hx2, const RT &hy2, const RT &hw2,		  const We &w2,		  const RT &hx3, const RT &hy3, const RT &hw3,		  const We &w3,		  RT       & cx, RT       & cy, RT       & cw,		  We      &cwt){  ad_circumcircleC2<RT, We>(RT(hx1/hw1), RT(hy1/hw1), w1,			    RT(hx2/hw2), RT(hy2/hw2), w2,			    RT(hx3/hw3), RT(hy3/hw3), w3,			    cx, cy, cwt);  cw = RT(1);}template < class RT, class We >voidad_left_bitangent_lineH2(const FT &hx1, const FT &hy1, const We &w1,			 const FT &hx2, const FT &hy2, const We &w2,			 RT       &  a, RT       &  b, RT       & c){  ad_left_bitangent_lineC2(RT(hx1/hw1), RT(hy1/hw1), w1,			   RT(hx2/hw2), RT(hy2/hw2), w2,			             a,           b,  c);}CGAL_END_NAMESPACE#endif // CGAL_APOLLONIUS_GRAPH_2_CONSTRUCTIONS_RTH2_H

⌨️ 快捷键说明

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