apollonius_graph_ftc2.h

来自「CGAL is a collaborative effort of severa」· C头文件 代码 · 共 1,378 行 · 第 1/3 页

H
1,378
字号
    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qx,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qy,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qw,    bool b){  try  {#ifdef CGAL_PROFILE    static Profile_counter       calls("IA ad_finite_edge_test_degenerated_sqrtf_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_finite_edge_test_degenerated_sqrtf_C2(		x1.interval(),		y1.interval(),		w1.interval(),		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		qx.interval(),		qy.interval(),		qw.interval(),		b);  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_finite_edge_test_degenerated_sqrtf_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_finite_edge_test_degenerated_sqrtf_C2(		x1.exact(),		y1.exact(),		w1.exact(),		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		qx.exact(),		qy.exact(),		qw.exact(),		b);  }}template < class CGAL_IA_CT, class CGAL_IA_ET, bool CGAL_IA_PROTECTED,           class CGAL_IA_CACHE >/*  */boolad_finite_edge_test_degenerated_ring_C2(    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qx,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qy,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qw,    bool b){  try  {#ifdef CGAL_PROFILE    static Profile_counter       calls("IA ad_finite_edge_test_degenerated_ring_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_finite_edge_test_degenerated_ring_C2(		x1.interval(),		y1.interval(),		w1.interval(),		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		qx.interval(),		qy.interval(),		qw.interval(),		b);  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_finite_edge_test_degenerated_ring_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_finite_edge_test_degenerated_ring_C2(		x1.exact(),		y1.exact(),		w1.exact(),		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		qx.exact(),		qy.exact(),		qw.exact(),		b);  }}template < class CGAL_IA_CT, class CGAL_IA_ET, bool CGAL_IA_PROTECTED,           class CGAL_IA_CACHE >/*  */boolad_infinite_edge_test_sqrtf_C2(    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qx,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qy,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qw,    bool b){  try  {#ifdef CGAL_PROFILE    static Profile_counter calls("IA ad_infinite_edge_test_sqrtf_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_infinite_edge_test_sqrtf_C2(		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		x4.interval(),		y4.interval(),		w4.interval(),		qx.interval(),		qy.interval(),		qw.interval(),		b);  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_infinite_edge_test_sqrtf_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_infinite_edge_test_sqrtf_C2(		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		x4.exact(),		y4.exact(),		w4.exact(),		qx.exact(),		qy.exact(),		qw.exact(),		b);  }}template < class CGAL_IA_CT, class CGAL_IA_ET, bool CGAL_IA_PROTECTED,           class CGAL_IA_CACHE >/*  */boolad_infinite_edge_test_ring_C2(    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qx,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qy,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &qw,    bool b){  try  {#ifdef CGAL_PROFILE    static Profile_counter calls("IA ad_infinite_edge_test_ring_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_infinite_edge_test_ring_C2(		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		x4.interval(),		y4.interval(),		w4.interval(),		qx.interval(),		qy.interval(),		qw.interval(),		b);  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_infinite_edge_test_ring_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_infinite_edge_test_ring_C2(		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		x4.exact(),		y4.exact(),		w4.exact(),		qx.exact(),		qy.exact(),		qw.exact(),		b);  }}template < class CGAL_IA_CT, class CGAL_IA_ET, bool CGAL_IA_PROTECTED,           class CGAL_IA_CACHE >/*  */boolad_is_degenerate_edge_test_sqrtf_C2(    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w4){  try  {#ifdef CGAL_PROFILE    static Profile_counter       calls("IA ad_is_degenerate_edge_test_sqrtf_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_is_degenerate_edge_test_sqrtf_C2(		x1.interval(),		y1.interval(),		w1.interval(),		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		x4.interval(),		y4.interval(),		w4.interval());  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_is_degenerate_edge_test_sqrtf_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_is_degenerate_edge_test_sqrtf_C2(		x1.exact(),		y1.exact(),		w1.exact(),		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		x4.exact(),		y4.exact(),		w4.exact());  }}template < class CGAL_IA_CT, class CGAL_IA_ET, bool CGAL_IA_PROTECTED,           class CGAL_IA_CACHE >/*  */boolad_is_degenerate_edge_test_ring_C2(    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w1,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,    CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w2,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w3,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &x4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &y4,    const Filtered_exact <CGAL_IA_CT, CGAL_IA_ET, Dynamic,     CGAL_IA_PROTECTED, CGAL_IA_CACHE> &w4){  try  {#ifdef CGAL_PROFILE    static Profile_counter       calls("IA ad_is_degenerate_edge_test_ring_C2 calls");    ++calls;#endif    Protect_FPU_rounding<CGAL_IA_PROTECTED> Protection;    return ad_is_degenerate_edge_test_ring_C2(		x1.interval(),		y1.interval(),		w1.interval(),		x2.interval(),		y2.interval(),		w2.interval(),		x3.interval(),		y3.interval(),		w3.interval(),		x4.interval(),		y4.interval(),		w4.interval());  }   catch (Interval_nt_advanced::unsafe_comparison)  {#ifdef CGAL_PROFILE    static Profile_counter       failures("IA ad_is_degenerate_edge_test_ring_C2 failures");    ++failures;#endif    Protect_FPU_rounding<!CGAL_IA_PROTECTED> Protection(CGAL_FE_TONEAREST);    return ad_is_degenerate_edge_test_ring_C2(		x1.exact(),		y1.exact(),		w1.exact(),		x2.exact(),		y2.exact(),		w2.exact(),		x3.exact(),		y3.exact(),		w3.exact(),		x4.exact(),		y4.exact(),		w4.exact());  }}CGAL_END_NAMESPACE#endif // CGAL_ARITHMETIC_FILTER_APOLLONIUS_GRAPH_FTC2_H

⌨️ 快捷键说明

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