📄 global_functions_internal_2.h
字号:
return k.compare_y_2_object()(l, h1, h2);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Segment_2 &s, const K& k){ return k.compare_y_at_x_2_object()(p, s);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Segment_2 &s1, const typename CGAL_WRAP(K)::Segment_2 &s2, const K& k){ return k.compare_y_at_x_2_object()(p, s1, s2);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Line_2 &l, const K& k){ return k.compare_y_at_x_2_object()(p, l);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Line_2 &h1, const typename CGAL_WRAP(K)::Line_2 &h2, const K& k){ return k.compare_y_at_x_2_object()(p, h1, h2);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Line_2 &l1, const typename CGAL_WRAP(K)::Line_2 &l2, const typename CGAL_WRAP(K)::Line_2 &h, const K& k){ return k.compare_y_at_x_2_object()(l1, l2, h);}template < class K >inlineComparison_resultcompare_y_at_x(const typename CGAL_WRAP(K)::Line_2 &l1, const typename CGAL_WRAP(K)::Line_2 &l2, const typename CGAL_WRAP(K)::Line_2 &h1, const typename CGAL_WRAP(K)::Line_2 &h2, const K& k){ return k.compare_y_at_x_2_object()(l1, l2, h1, h2);}template < class K >inlinetypename K::FTdeterminant(const typename CGAL_WRAP(K)::Vector_2 &v0, const typename CGAL_WRAP(K)::Vector_2 &v1, const K &k){ return k.compute_determinant_2_object()(v0, v1);}template <class K>inlineboolhas_larger_distance_to_point(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K& k){ return k.less_distance_to_point_2_object()(p, r, q);}template <class K>inlineboolhas_smaller_distance_to_point(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K& k){ return k.less_distance_to_point_2_object()(p, q, r);}template <class K>inlineboolhas_smaller_signed_distance_to_line(const typename CGAL_WRAP(K)::Line_2& l, const typename CGAL_WRAP(K)::Point_2& p, const typename CGAL_WRAP(K)::Point_2& q, const K& k){ return k.less_signed_distance_to_line_2_object()(l, p, q);}template <class K>inlineboolhas_larger_signed_distance_to_line(const typename CGAL_WRAP(K)::Line_2& l, const typename CGAL_WRAP(K)::Point_2& p, const typename CGAL_WRAP(K)::Point_2& q, const K& k){ return k.less_signed_distance_to_line_2_object()(l, q, p);}template <class K>inlineboolhas_larger_signed_distance_to_line(const typename CGAL_WRAP(K)::Point_2& p, const typename CGAL_WRAP(K)::Point_2& q, const typename CGAL_WRAP(K)::Point_2& r, const typename CGAL_WRAP(K)::Point_2& s, const K& k){ return k.less_signed_distance_to_line_2_object()(p, q, s, r);}template <class K>inlineboolhas_smaller_signed_distance_to_line(const typename CGAL_WRAP(K)::Point_2& p, const typename CGAL_WRAP(K)::Point_2& q, const typename CGAL_WRAP(K)::Point_2& r, const typename CGAL_WRAP(K)::Point_2& s, const K& k){ return k.less_signed_distance_to_line_2_object()(p, q, r, s);}template < class K >inlineboolleft_turn(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K& k){ return k.left_turn_2_object()(p, q, r);}template < class K >inlineboolless_x(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.less_x_2_object()(p, q);}template < class K >inlineboolless_y(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.less_y_2_object()(p, q);}template < class K >inlineboollexicographically_xy_larger(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.compare_xy_2_object()(p, q) == LARGER;}template < class K >inlineboollexicographically_xy_larger_or_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.compare_xy_2_object()(p, q) != SMALLER;}template < class K >inlineboollexicographically_xy_smaller(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.less_xy_2_object()(p, q);}template < class K >inlineboollexicographically_xy_smaller_or_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.compare_xy_2_object()(p, q) != LARGER;}template < class K >inlineboollexicographically_yx_smaller(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.less_yx_2_object()(p, q);}template < class K >inlineboollexicographically_yx_smaller_or_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return !k.less_yx_2_object()(q, p);}// FIXME : Undocumentedtemplate < class K >inlineboollexicographically_yx_larger(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return k.less_yx_2_object()(q, p);}// FIXME : Undocumentedtemplate < class K >inlineboollexicographically_yx_larger_or_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K& k){ return !k.less_yx_2_object()(p, q);}template < class K >inlinetypename K::Point_2midpoint(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K &k){ return k.construct_midpoint_2_object()(p, q);}template < class K >inlinetypename K::Point_2max_vertex(const typename CGAL_WRAP(K)::Iso_rectangle_2 &ir, const K &k){ return k.construct_max_vertex_2_object()(ir);}template < class K >inlinetypename K::Point_2min_vertex(const typename CGAL_WRAP(K)::Iso_rectangle_2 &ir, const K &k){ return k.construct_min_vertex_2_object()(ir);}template <typename K>inlineOrientationorientation(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K &k){ return k.orientation_2_object()(p, q, r);}template <typename K>inlineOrientationorientation(const typename CGAL_WRAP(K)::Vector_2 &u, const typename CGAL_WRAP(K)::Vector_2 &v, const K &k){ return k.orientation_2_object()(u, v);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Line_2 &l1, const typename CGAL_WRAP(K)::Line_2 &l2, const K &k){ return k.are_parallel_2_object()(l1, l2);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Ray_2 &r1, const typename CGAL_WRAP(K)::Ray_2 &r2, const K &k){ return k.are_parallel_2_object()(r1, r2);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Segment_2 &s1, const typename CGAL_WRAP(K)::Segment_2 &s2, const K &k){ return k.are_parallel_2_object()(s1, s2);}template <typename K>inlineboolright_turn(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K &k){ return CGALi::orientation(p, q, r, k) == RIGHT_TURN;}template <class K>inlineBounded_sideside_of_bounded_circle(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const typename CGAL_WRAP(K)::Point_2 &t, const K &k){ return k.side_of_bounded_circle_2_object()(p, q, r, t);}template <class K>inlineBounded_sideside_of_bounded_circle(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K &k){ return k.side_of_bounded_circle_2_object()(p, q, r);}template <class K>inlineOriented_sideside_of_oriented_circle(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const typename CGAL_WRAP(K)::Point_2 &t, const K &k){ return k.side_of_oriented_circle_2_object()(p, q, r, t);}template < class K >inlinetypename K::FTsquared_radius(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K &k){ return k.compute_squared_radius_2_object()(p, q);}template < class K >CGAL_KERNEL_INLINEtypename K::FTsquared_radius(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const typename CGAL_WRAP(K)::Point_2 &r, const K &k){ return k.compute_squared_radius_2_object()(p, q, r);}template < class K >inlineboolx_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K &k){ return k.equal_x_2_object()(p, q);}template < class K >inlinebooly_equal(const typename CGAL_WRAP(K)::Point_2 &p, const typename CGAL_WRAP(K)::Point_2 &q, const K &k){ return k.equal_y_2_object()(p, q);}} // namespace CGALiCGAL_END_NAMESPACE#endif // CGAL_KERNEL_GLOBAL_FUNCTIONS_INTERNAL_2_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -