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

📄 global_functions_internal_3.h

📁 很多二维 三维几何计算算法 C++ 类库
💻 H
📖 第 1 页 / 共 2 页
字号:
template < class K >inlineboolhas_smaller_distance_to_point(const typename CGAL_WRAP(K)::Point_3 &p,                              const typename CGAL_WRAP(K)::Point_3 &q,                              const typename CGAL_WRAP(K)::Point_3 &r,			      const K &k){  return k.less_distance_to_point_3_object()(p, q, r);}template < class K >inlineboolhas_larger_distance_to_point(const typename CGAL_WRAP(K)::Point_3 &p,			     const typename CGAL_WRAP(K)::Point_3 &q,			     const typename CGAL_WRAP(K)::Point_3 &r,			     const K &k){  return k.compare_distance_3_object()(p, q, r) == LARGER;}template < class K >inlineboolhas_larger_signed_distance_to_plane(const typename CGAL_WRAP(K)::Plane_3 &h,				    const typename CGAL_WRAP(K)::Point_3 &p,				    const typename CGAL_WRAP(K)::Point_3 &q,				    const K &k){   return k.less_signed_distance_to_plane_3_object()(h, q, p);}template < class K >inlineboolhas_larger_signed_distance_to_plane(const typename CGAL_WRAP(K)::Point_3 &hp,				    const typename CGAL_WRAP(K)::Point_3 &hq,				    const typename CGAL_WRAP(K)::Point_3 &hr,				    const typename CGAL_WRAP(K)::Point_3 &p,				    const typename CGAL_WRAP(K)::Point_3 &q,				    const K &k){   return k.less_signed_distance_to_plane_3_object()(hp, hq, hr, q, p);}template < class K >inlineboolhas_smaller_signed_distance_to_plane(const typename CGAL_WRAP(K)::Plane_3 &h,                                     const typename CGAL_WRAP(K)::Point_3 &p,                                     const typename CGAL_WRAP(K)::Point_3 &q,				     const K &k){   return k.less_signed_distance_to_plane_3_object()(h, p, q);}template < class K >inlineboolhas_smaller_signed_distance_to_plane(const typename CGAL_WRAP(K)::Point_3 &hp,                                     const typename CGAL_WRAP(K)::Point_3 &hq,                                     const typename CGAL_WRAP(K)::Point_3 &hr,                                     const typename CGAL_WRAP(K)::Point_3 &p,                                     const typename CGAL_WRAP(K)::Point_3 &q,				     const K &k){   return k.less_signed_distance_to_plane_3_object()(hp, hq, hr, p, q);}template < class K >inlineboolless_x(const typename CGAL_WRAP(K)::Point_3 &p,       const typename CGAL_WRAP(K)::Point_3 &q,       const K &k){   return k.less_x_3_object()(p, q);}template < class K >inlineboolless_y(const typename CGAL_WRAP(K)::Point_3 &p,       const typename CGAL_WRAP(K)::Point_3 &q,       const K &k){   return k.less_y_3_object()(p, q);}template < class K >inlineboolless_z(const typename CGAL_WRAP(K)::Point_3 &p,       const typename CGAL_WRAP(K)::Point_3 &q,       const K &k){   return k.less_z_3_object()(p, q);}template < class K >inlineboollexicographically_xyz_smaller(const typename CGAL_WRAP(K)::Point_3 &p,                              const typename CGAL_WRAP(K)::Point_3 &q,                              const K &k){  return k.less_xyz_3_object()(p, q);}template < class K >inlinetypename K::Point_3midpoint(const typename CGAL_WRAP(K)::Point_3 &p,         const typename CGAL_WRAP(K)::Point_3 &q, const K &k){  return k.construct_midpoint_3_object()(p, q);}template < class K >inlinetypename K::Point_3max_vertex(const typename CGAL_WRAP(K)::Iso_cuboid_3 &ic, const K &k){  return k.construct_max_vertex_3_object()(ic);}template < class K >inlinetypename K::Point_3min_vertex(const typename CGAL_WRAP(K)::Iso_cuboid_3 &ic, const K &k){  return k.construct_min_vertex_3_object()(ic);}template <class K >inlineOrientationorientation(const typename CGAL_WRAP(K)::Point_3 &p,	    const typename CGAL_WRAP(K)::Point_3 &q,	    const typename CGAL_WRAP(K)::Point_3 &r,	    const typename CGAL_WRAP(K)::Point_3 &s, const K &k){  return k.orientation_3_object()(p, q, r, s);}template <class K >inlineOrientationorientation(const typename CGAL_WRAP(K)::Vector_3 &u,	    const typename CGAL_WRAP(K)::Vector_3 &v,	    const typename CGAL_WRAP(K)::Vector_3 &w, const K &k){  return k.orientation_3_object()(u, v, w);}template < class K >inlinetypename K::Vector_3orthogonal_vector(const typename CGAL_WRAP(K)::Point_3 &p,		  const typename CGAL_WRAP(K)::Point_3 &q,		  const typename CGAL_WRAP(K)::Point_3 &r, const K &k){  return k.construct_orthogonal_vector_3_object()(p, q, r);}template < class K >inlinetypename K::Vector_3orthogonal_vector(const typename CGAL_WRAP(K)::Plane_3 &p, const K &k){  return k.construct_orthogonal_vector_3_object()(p);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Line_3 &l1,         const typename CGAL_WRAP(K)::Line_3 &l2, const K &k){  return k.are_parallel_3_object()(l1, l2);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Plane_3 &h1,         const typename CGAL_WRAP(K)::Plane_3 &h2, const K &k){  return k.are_parallel_3_object()(h1, h2);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Ray_3 &r1,         const typename CGAL_WRAP(K)::Ray_3 &r2, const K &k){  return k.are_parallel_3_object()(r1, r2);}template <typename K>inlineboolparallel(const typename CGAL_WRAP(K)::Segment_3 &s1,         const typename CGAL_WRAP(K)::Segment_3 &s2, const K &k){  return k.are_parallel_3_object()(s1, s2);}template <class K >inlineBounded_sideside_of_bounded_sphere(const typename CGAL_WRAP(K)::Point_3 &p,                       const typename CGAL_WRAP(K)::Point_3 &q,                       const typename CGAL_WRAP(K)::Point_3 &test, const K &k){  return k.side_of_bounded_sphere_3_object()(p, q, test);}template <class K >inlineBounded_sideside_of_bounded_sphere(const typename CGAL_WRAP(K)::Point_3 &p,                       const typename CGAL_WRAP(K)::Point_3 &q,                       const typename CGAL_WRAP(K)::Point_3 &r,                       const typename CGAL_WRAP(K)::Point_3 &test, const K &k){  return k.side_of_bounded_sphere_3_object()(p, q, r, test);}template <class K >inlineBounded_sideside_of_bounded_sphere(const typename CGAL_WRAP(K)::Point_3 &p,                       const typename CGAL_WRAP(K)::Point_3 &q,                       const typename CGAL_WRAP(K)::Point_3 &r,                       const typename CGAL_WRAP(K)::Point_3 &s,                       const typename CGAL_WRAP(K)::Point_3 &test, const K &k){  return k.side_of_bounded_sphere_3_object()(p, q, r, s, test);}template <class K >inlineOriented_sideside_of_oriented_sphere(const typename CGAL_WRAP(K)::Point_3 &p,                        const typename CGAL_WRAP(K)::Point_3 &q,                        const typename CGAL_WRAP(K)::Point_3 &r,                        const typename CGAL_WRAP(K)::Point_3 &s,                        const typename CGAL_WRAP(K)::Point_3 &test, const K &k){  return k.side_of_oriented_sphere_3_object()(p, q, r, s, test);}template <typename K>inlinetypename K::FTsquared_area(const typename CGAL_WRAP(K)::Point_3 &p,	     const typename CGAL_WRAP(K)::Point_3 &q,	     const typename CGAL_WRAP(K)::Point_3 &r, const K &k){  return k.compute_squared_area_3_object()(p, q, r);}template < class K >inlinetypename K::FTsquared_radius(const typename CGAL_WRAP(K)::Point_3 &p,	       const typename CGAL_WRAP(K)::Point_3 &q,	       const typename CGAL_WRAP(K)::Point_3 &r,	       const typename CGAL_WRAP(K)::Point_3 &s, const K &k){  return k.compute_squared_radius_3_object()(p, q, r, s);}template < class K >inlinetypename K::FTsquared_radius(const typename CGAL_WRAP(K)::Point_3 &p,	       const typename CGAL_WRAP(K)::Point_3 &q,	       const typename CGAL_WRAP(K)::Point_3 &r, const K &k){  return k.compute_squared_radius_3_object()(p, q, r);}template < class K >inlinetypename K::FTsquared_radius(const typename CGAL_WRAP(K)::Point_3 &p,	       const typename CGAL_WRAP(K)::Point_3 &q, const K &k){  return k.compute_squared_radius_3_object()(p, q);}template < class K >inlinetypename K::FTvolume(const typename CGAL_WRAP(K)::Point_3 &p,       const typename CGAL_WRAP(K)::Point_3 &q,       const typename CGAL_WRAP(K)::Point_3 &r,       const typename CGAL_WRAP(K)::Point_3 &s, const K &k){  return k.compute_volume_3_object()(p, q, r, s);}template < class K >inlineboolx_equal(const typename CGAL_WRAP(K)::Point_3 &p,        const typename CGAL_WRAP(K)::Point_3 &q, const K &k){  return k.equal_x_3_object()(p, q);}template < class K >inlinebooly_equal(const typename CGAL_WRAP(K)::Point_3 &p,        const typename CGAL_WRAP(K)::Point_3 &q, const K &k){  return k.equal_y_3_object()(p, q);}template < class K >inlineboolz_equal(const typename CGAL_WRAP(K)::Point_3 &p,        const typename CGAL_WRAP(K)::Point_3 &q, const K &k){  return k.equal_z_3_object()(p, q);}// The following functions only call some of the previous ones.template <typename K>inlineboolare_negative_oriented(const typename CGAL_WRAP(K)::Point_3 &p,                      const typename CGAL_WRAP(K)::Point_3 &q,                      const typename CGAL_WRAP(K)::Point_3 &r,                      const typename CGAL_WRAP(K)::Point_3 &s, const K &k){  return CGALi::orientation(p, q, r, s, k) == NEGATIVE;}template <typename K>inlineboolare_positive_oriented(const typename CGAL_WRAP(K)::Point_3 &p,                      const typename CGAL_WRAP(K)::Point_3 &q,                      const typename CGAL_WRAP(K)::Point_3 &r,                      const typename CGAL_WRAP(K)::Point_3 &s, const K &k){  return CGALi::orientation(p, q, r, s, k) == POSITIVE;}template < class K >inlineboollexicographically_xyz_smaller_or_equal(const typename CGAL_WRAP(K)::Point_3 &p,                                       const typename CGAL_WRAP(K)::Point_3 &q,                                       const K&k){  return CGALi::compare_lexicographically_xyz(p, q, k) != LARGER;}} // namespace CGALiCGAL_END_NAMESPACE#endif  // CGAL_KERNEL_GLOBAL_FUNCTIONS_INTERNAL_3_H

⌨️ 快捷键说明

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