apollonius_graph_ftc2.h
来自「CGAL is a collaborative effort of severa」· C头文件 代码 · 共 628 行 · 第 1/2 页
H
628 行
typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 q(Point_2(qx, qy), qw); Incircle_test<Kernel,Ring_tag> f; return f(p1, p2, p3, q);}//--------------------------------------------------------------------template < class RT >boolad_finite_edge_test_sqrtf_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Sqrt_field_tag> f; return f(p1, p2, p3, p4, q, b);}template < class RT >boolad_finite_edge_test_ring_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Ring_tag> f; return f(p1, p2, p3, p4, q, b);}//--------------------------------------------------------------------template < class RT >boolad_finite_edge_test_degenerated_sqrtf_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Sqrt_field_tag> f; return f(p1, p2, q, b);}template < class RT >boolad_finite_edge_test_degenerated_ring_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Ring_tag> f; return f(p1, p2, q, b);}template < class RT >boolad_finite_edge_test_degenerated_sqrtf_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Sqrt_field_tag> f; return f(p1, p2, p3, q, b);}template < class RT >boolad_finite_edge_test_degenerated_ring_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 q(Point_2(qx, qy), qw); Ag2_finite_edge_test_C2<Kernel,Ring_tag> f; return f(p1, p2, p3, q, b);}//--------------------------------------------------------------------template < class RT >boolad_infinite_edge_test_sqrtf_C2(const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x2); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Site_2 q(Point_2(qx, qy), qw); Infinite_edge_test<Kernel,Sqrt_field_tag> f; return f(p2, p3, p4, q, b);}template < class RT >boolad_infinite_edge_test_ring_C2(const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4, const RT &qx, const RT &qy, const RT &qw, bool b){ must_be_filtered(x2); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Site_2 q(Point_2(qx, qy), qw); Infinite_edge_test<Kernel,Ring_tag> f; return f(p2, p3, p4, q, b);}//--------------------------------------------------------------------template < class RT >boolad_is_degenerate_edge_test_sqrtf_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Is_degenerate_edge_test<Kernel,Sqrt_field_tag> f; return f(p1, p2, p3, p4);}template < class RT >boolad_is_degenerate_edge_test_ring_C2(const RT &x1, const RT &y1, const RT &w1, const RT &x2, const RT &y2, const RT &w2, const RT &x3, const RT &y3, const RT &w3, const RT &x4, const RT &y4, const RT &w4){ must_be_filtered(x1); typedef Simple_cartesian<RT> Rep; typedef Apollonius_graph_kernel_wrapper_2<Rep> Kernel; typedef typename Kernel::Point_2 Point_2; typedef typename Kernel::Site_2 Site_2; Site_2 p1(Point_2(x1, y1), w1); Site_2 p2(Point_2(x2, y2), w2); Site_2 p3(Point_2(x3, y3), w3); Site_2 p4(Point_2(x4, y4), w4); Is_degenerate_edge_test<Kernel,Ring_tag> f; return f(p1, p2, p3, p4);}//--------------------------------------------------------------------CGAL_END_NAMESPACE#ifdef CGAL_ARITHMETIC_FILTER_H#ifndef CGAL_ARITHMETIC_FILTER_APOLLONIUS_GRAPH_FTC2_H#include <CGAL/Arithmetic_filter/predicates/Apollonius_graph_ftC2.h>#endif // CGAL_ARITHMETIC_FILTER_APOLLONIUS_GRAPH_FTC2_H#endif#endif // CGAL_APOLLONIUS_GRAPH_FTC2_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?