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

📄 global_functions_3.h

📁 很多二维 三维几何计算算法 C++ 类库
💻 H
📖 第 1 页 / 共 2 页
字号:
midpoint(const Point_3<K> &p, const Point_3<K> &q){  return CGALi::midpoint(p, q, K());}template < class K >inlinetypename K::Point_3max_vertex(const Iso_cuboid_3<K> &ic){  return CGALi::max_vertex(ic, K());}template < class K >inlinetypename K::Point_3min_vertex(const Iso_cuboid_3<K> &ic){  return CGALi::min_vertex(ic, K());}// FIXME TODO : what to do with the operators ?template < class K >inlinebooloperator==(const Point_3<K>& p, const Point_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Point_3<K>& p, const Point_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Point_3<K>& p, const Origin& o){ return K().equal_3_object()(p, Point_3<K>(o)); }template < class K >inlinebooloperator!=(const Point_3<K>& p, const Origin& o){ return ! (p == o); }template < class K >inlinebooloperator==(const Iso_cuboid_3<K>& p, const Iso_cuboid_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Iso_cuboid_3<K>& p, const Iso_cuboid_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Plane_3<K>& p, const Plane_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Plane_3<K>& p, const Plane_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Segment_3<K>& p, const Segment_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Segment_3<K>& p, const Segment_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Line_3<K>& p, const Line_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Line_3<K>& p, const Line_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Ray_3<K>& p, const Ray_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Ray_3<K>& p, const Ray_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Triangle_3<K>& p, const Triangle_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Triangle_3<K>& p, const Triangle_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Tetrahedron_3<K>& p, const Tetrahedron_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Tetrahedron_3<K>& p, const Tetrahedron_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Direction_3<K>& p, const Direction_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Direction_3<K>& p, const Direction_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Sphere_3<K>& p, const Sphere_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Sphere_3<K>& p, const Sphere_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Vector_3<K>& p, const Vector_3<K>& q){ return K().equal_3_object()(p, q); }template < class K >inlinebooloperator!=(const Vector_3<K>& p, const Vector_3<K>& q){ return ! (p == q); }template < class K >inlinebooloperator==(const Vector_3<K>& p, const Null_vector& o){ return K().equal_3_object()(p, Vector_3<K>(o)); }template < class K >inlinebooloperator!=(const Vector_3<K>& p, const Null_vector& o){ return ! (p == o); }template < class K >inlinebooloperator<(const Point_3<K>& p, const Point_3<K>& q){ return K().less_xyz_3_object()(p, q); }template < class K >inlinebooloperator>(const Point_3<K>& p, const Point_3<K>& q){ return K().less_xyz_3_object()(q, p); }template < class K >inlinebooloperator<=(const Point_3<K>& p, const Point_3<K>& q){ return ! K().less_xyz_3_object()(q, p); }template < class K >inlinebooloperator>=(const Point_3<K>& p, const Point_3<K>& q){ return ! K().less_xyz_3_object()(p, q); }template < class K >inlinetypename K::Vector_3operator*(const typename CGAL_WRAP(K)::FT &c, const Vector_3<K> &w){  return K().construct_scaled_vector_3_object()(w, c);}template < class K >inlinetypename K::Vector_3operator*(const Vector_3<K> &w, const typename CGAL_WRAP(K)::FT &c){  return K().construct_scaled_vector_3_object()(w, c);}template < class K >inlinetypename K::Vector_3operator*(const typename First_if_different<typename K::RT,                                            typename K::FT>::Type &c,          const Vector_3<K> &w){  return K().construct_scaled_vector_3_object()(w, c);}template < class K >inlinetypename K::Vector_3operator*(const Vector_3<K> &w,          const typename First_if_different<typename K::RT,                                            typename K::FT>::Type &c){  return K().construct_scaled_vector_3_object()(w, c);}template < class K >inlinetypename K::FToperator*(const Vector_3<K> &v, const Vector_3<K> &w){  return K().compute_scalar_product_3_object()(v, w);}template < class K >inlinetypename K::Point_3operator+(const Point_3<K> &p, const Vector_3<K> &v){  return K().construct_translated_point_3_object()(p, v);}template < class K >inlinetypename K::Point_3operator+(const Origin &o, const Vector_3<K> &v){  return K().construct_translated_point_3_object()(o, v);}template < class K >inlinetypename K::Point_3operator-(const Point_3<K> &p, const Vector_3<K> &v){  return K().construct_translated_point_3_object()               (p, K().construct_opposite_vector_3_object()(v));}template < class K >inlinetypename K::Point_3operator-(const Origin &o, const Vector_3<K> &v){  return K().construct_translated_point_3_object()               (o, K().construct_opposite_vector_3_object()(v));}template < class K >inlinetypename K::Vector_3operator-(const Point_3<K> &p, const Point_3<K> &q){  return K().construct_vector_3_object()(q, p);}template < class K >inlinetypename K::Vector_3operator-(const Point_3<K> &p, const Origin &o){  return K().construct_vector_3_object()(o, p);}template < class K >inlinetypename K::Vector_3operator-(const Origin &o, const Point_3<K> &q){  return K().construct_vector_3_object()(q, o);}template <class K >inlineOrientationorientation(const Point_3<K> &p,            const Point_3<K> &q,            const Point_3<K> &r,            const Point_3<K> &s){  return CGALi::orientation(p, q, r, s, K());}template <class K >inlineOrientationorientation(const Vector_3<K> &u, const Vector_3<K> &v, const Vector_3<K> &w){  return CGALi::orientation(u, v, w, K());}template <class K >inlinetypename K::Vector_3orthogonal_vector(const Point_3<K>& p,		  const Point_3<K>& q,		  const Point_3<K>& r){  return CGALi::orthogonal_vector(p, q, r, K());}template <class K >inlinetypename K::Vector_3orthogonal_vector(const Plane_3<K>& p){  return CGALi::orthogonal_vector(p, K());}// parallel() functions are in Kernel/global_functions.htemplate <class K >inlineBounded_sideside_of_bounded_sphere(const Point_3<K> &p,                       const Point_3<K> &q,                       const Point_3<K> &test){  return CGALi::side_of_bounded_sphere(p, q, test, K());}template <class K >inlineBounded_sideside_of_bounded_sphere(const Point_3<K> &p,                       const Point_3<K> &q,                       const Point_3<K> &r,                       const Point_3<K> &test){  return CGALi::side_of_bounded_sphere(p, q, r, test, K());}template <class K >inlineBounded_sideside_of_bounded_sphere(const Point_3<K> &p,                       const Point_3<K> &q,                       const Point_3<K> &r,                       const Point_3<K> &s,                       const Point_3<K> &test){  return CGALi::side_of_bounded_sphere(p, q, r, s, test, K());}template <class K >inlineOriented_sideside_of_oriented_sphere(const Point_3<K> &p,                        const Point_3<K> &q,                        const Point_3<K> &r,                        const Point_3<K> &s,                        const Point_3<K> &test){  return CGALi::side_of_oriented_sphere(p, q, r, s, test, K());}template <typename K>inlinetypename K::FTsquared_area(const Point_3<K> &p, const Point_3<K> &q, const Point_3<K> &r){  return CGALi::squared_area(p, q, r, K());}template < class K >inlinetypename K::FTsquared_radius(const Point_3<K> &p, const Point_3<K> &q,	       const Point_3<K> &r, const Point_3<K> &s){  return CGALi::squared_radius(p, q, r, s, K());}template < class K >inlinetypename K::FTsquared_radius(const Point_3<K> &p, const Point_3<K> &q, const Point_3<K> &r){  return CGALi::squared_radius(p, q, r, K());}template < class K >inlinetypename K::FTsquared_radius(const Point_3<K> &p, const Point_3<K> &q){  return CGALi::squared_radius(p, q, K());}template < class K >inlinetypename K::FTvolume(const Point_3<K> &p, const Point_3<K> &q,       const Point_3<K> &r, const Point_3<K> &s){  return CGALi::volume(p, q, r, s, K());}template < class K >inlineboolx_equal(const Point_3<K> &p, const Point_3<K> &q){  return CGALi::x_equal(p, q, K());}template < class K >inlinebooly_equal(const Point_3<K> &p, const Point_3<K> &q){  return CGALi::y_equal(p, q, K());}template < class K >inlineboolz_equal(const Point_3<K> &p, const Point_3<K> &q){  return CGALi::z_equal(p, q, K());}CGAL_END_NAMESPACE#endif  // CGAL_KERNEL_GLOBAL_FUNCTIONS_3_H

⌨️ 快捷键说明

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