Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
distance_predicatesS3.h File Reference
#include <CGAL/SimpleCartesian/PointS3.h>
#include <CGAL/SimpleCartesian/PlaneS3.h>
#include <CGAL/predicates/kernel_ftC3.h>
Include dependency graph for distance_predicatesS3.h:

Go to the source code of this file.

Functions

template<class FT >
CGAL_BEGIN_NAMESPACE
CGAL_KERNEL_LARGE_INLINE
Comparison_result 
cmp_dist_to_point (const PointS3< FT > &p, const PointS3< FT > &q, const PointS3< FT > &r)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_larger_dist_to_point (const PointS3< FT > &p, const PointS3< FT > &q, const PointS3< FT > &r)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_smaller_dist_to_point (const PointS3< FT > &p, const PointS3< FT > &q, const PointS3< FT > &r)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE
Comparison_result 
cmp_signed_dist_to_plane (const PlaneS3< FT > &h, const PointS3< FT > &p, const PointS3< FT > &q)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_larger_signed_dist_to_plane (const PlaneS3< FT > &h, const PointS3< FT > &p, const PointS3< FT > &q)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_smaller_signed_dist_to_plane (const PlaneS3< FT > &h, const PointS3< FT > &p, const PointS3< FT > &q)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE
Comparison_result 
cmp_signed_dist_to_plane (const PointS3< FT > &hp, const PointS3< FT > &hq, const PointS3< FT > &hr, const PointS3< FT > &p, const PointS3< FT > &q)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_larger_signed_dist_to_plane (const PointS3< FT > &hp, const PointS3< FT > &hq, const PointS3< FT > &hr, const PointS3< FT > &p, const PointS3< FT > &q)
 
template<class FT >
CGAL_KERNEL_LARGE_INLINE bool has_smaller_signed_dist_to_plane (const PointS3< FT > &hp, const PointS3< FT > &hq, const PointS3< FT > &hr, const PointS3< FT > &p, const PointS3< FT > &q)
 

Function Documentation

CGAL_BEGIN_NAMESPACE CGAL_KERNEL_LARGE_INLINE Comparison_result cmp_dist_to_point ( const PointS3< FT > &  p,
const PointS3< FT > &  q,
const PointS3< FT > &  r 
)

Definition at line 63 of file distance_predicatesS3.h.

References cmp_dist_to_pointC3(), PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

66 {
67  return cmp_dist_to_pointC3(p.x(),p.y(),p.z(),
68  q.x(),q.y(),q.z(),
69  r.x(),r.y(),r.z());
70 }
CGAL_KERNEL_INLINE Comparison_result cmp_dist_to_pointC3(const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz, const FT &rx, const FT &ry, const FT &rz)

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE Comparison_result cmp_signed_dist_to_plane ( const PlaneS3< FT > &  h,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 98 of file distance_predicatesS3.h.

References PlaneS3< FT >::a(), PlaneS3< FT >::b(), PlaneS3< FT >::c(), cmp_signed_dist_to_directionC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

101 {
102  return cmp_signed_dist_to_directionC3(h.a(),h.b(),h.c(),
103  p.x(),p.y(),p.z(),
104  q,x(),q.y(),q.z());
105 }
const FT & c() const
Definition: PlaneS3.h:229
const FT & b() const
Definition: PlaneS3.h:224
void int int REAL * x
Definition: read.cpp:74
const FT & a() const
Definition: PlaneS3.h:219
NT q
CGAL_KERNEL_MEDIUM_INLINE Comparison_result cmp_signed_dist_to_directionC3(const FT &pa, const FT &pb, const FT &pc, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE Comparison_result cmp_signed_dist_to_plane ( const PointS3< FT > &  hp,
const PointS3< FT > &  hq,
const PointS3< FT > &  hr,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 133 of file distance_predicatesS3.h.

References cmp_signed_dist_to_planeC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

138 {
139  return cmp_signed_dist_to_planeC3(hp.x(),hp.y(),hp.z(),
140  hq.x(),hq.y(),hq.z(),
141  hr.x(),hr.y(),hr.z(),
142  p.x(),p.y(),p.z(),
143  q,x(),q.y(),q.z());
144 }
CGAL_KERNEL_MEDIUM_INLINE Comparison_result cmp_signed_dist_to_planeC3(const FT &ppx, const FT &ppy, const FT &ppz, const FT &pqx, const FT &pqy, const FT &pqz, const FT &prx, const FT &pry, const FT &prz, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)
void int int REAL * x
Definition: read.cpp:74
NT q

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_larger_dist_to_point ( const PointS3< FT > &  p,
const PointS3< FT > &  q,
const PointS3< FT > &  r 
)

Definition at line 75 of file distance_predicatesS3.h.

References has_larger_dist_to_pointC3(), PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

Referenced by p_Less_rotate_ccw_E< Point >::operator()().

78 {
79  return has_larger_dist_to_pointC3(p.x(),p.y(),p.z(),
80  q.x(),q.y(),q.z(),
81  r.x(),r.y(),r.z());
82 }
CGAL_KERNEL_MEDIUM_INLINE bool has_larger_dist_to_pointC3(const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz, const FT &rx, const FT &ry, const FT &rz)

Here is the call graph for this function:

Here is the caller graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_larger_signed_dist_to_plane ( const PlaneS3< FT > &  h,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 110 of file distance_predicatesS3.h.

References PlaneS3< FT >::a(), PlaneS3< FT >::b(), PlaneS3< FT >::c(), has_larger_signed_dist_to_directionC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

113 {
114  return has_larger_signed_dist_to_directionC3(h.a(),h.b(),h.c(),
115  p.x(),p.y(),p.z(),
116  q,x(),q.y(),q.z());
117 }
CGAL_KERNEL_MEDIUM_INLINE bool has_larger_signed_dist_to_directionC3(const FT &pa, const FT &pb, const FT &pc, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)
const FT & c() const
Definition: PlaneS3.h:229
const FT & b() const
Definition: PlaneS3.h:224
void int int REAL * x
Definition: read.cpp:74
const FT & a() const
Definition: PlaneS3.h:219
NT q

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_larger_signed_dist_to_plane ( const PointS3< FT > &  hp,
const PointS3< FT > &  hq,
const PointS3< FT > &  hr,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 149 of file distance_predicatesS3.h.

References has_larger_signed_dist_to_planeC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

154 {
155  return has_larger_signed_dist_to_planeC3(hp.x(),hp.y(),hp.z(),
156  hq.x(),hq.y(),hq.z(),
157  hr.x(),hr.y(),hr.z(),
158  p.x(),p.y(),p.z(),
159  q,x(),q.y(),q.z());
160 }
CGAL_KERNEL_MEDIUM_INLINE bool has_larger_signed_dist_to_planeC3(const FT &ppx, const FT &ppy, const FT &ppz, const FT &pqx, const FT &pqy, const FT &pqz, const FT &prx, const FT &pry, const FT &prz, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)
void int int REAL * x
Definition: read.cpp:74
NT q

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_smaller_dist_to_point ( const PointS3< FT > &  p,
const PointS3< FT > &  q,
const PointS3< FT > &  r 
)

Definition at line 87 of file distance_predicatesS3.h.

References has_smaller_dist_to_pointC3(), PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

Referenced by p_Less_dist_to_point< Point >::operator()().

90 {
91  return has_smaller_dist_to_pointC3(p.x(),p.y(),p.z(),
92  q.x(),q.y(),q.z(),
93  r.x(),r.y(),r.z());
94 }
CGAL_KERNEL_MEDIUM_INLINE bool has_smaller_dist_to_pointC3(const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz, const FT &rx, const FT &ry, const FT &rz)

Here is the call graph for this function:

Here is the caller graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_smaller_signed_dist_to_plane ( const PlaneS3< FT > &  h,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 122 of file distance_predicatesS3.h.

References PlaneS3< FT >::a(), PlaneS3< FT >::b(), PlaneS3< FT >::c(), has_smaller_signed_dist_to_directionC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

125 {
126  return has_smaller_signed_dist_to_directionC3(h.a(),h.b(),h.c(),
127  p.x(),p.y(),p.z(),
128  q,x(),q.y(),q.z());
129 }
const FT & c() const
Definition: PlaneS3.h:229
CGAL_KERNEL_MEDIUM_INLINE bool has_smaller_signed_dist_to_directionC3(const FT &pa, const FT &pb, const FT &pc, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)
const FT & b() const
Definition: PlaneS3.h:224
void int int REAL * x
Definition: read.cpp:74
const FT & a() const
Definition: PlaneS3.h:219
NT q

Here is the call graph for this function:

CGAL_KERNEL_LARGE_INLINE bool has_smaller_signed_dist_to_plane ( const PointS3< FT > &  hp,
const PointS3< FT > &  hq,
const PointS3< FT > &  hr,
const PointS3< FT > &  p,
const PointS3< FT > &  q 
)

Definition at line 165 of file distance_predicatesS3.h.

References has_smaller_signed_dist_to_planeC3(), q, x, PointS3< FT >::x(), PointS3< FT >::y(), and PointS3< FT >::z().

170 {
171  return has_smaller_signed_dist_to_planeC3(hp.x(),hp.y(),hp.z(),
172  hq.x(),hq.y(),hq.z(),
173  hr.x(),hr.y(),hr.z(),
174  p.x(),p.y(),p.z(),
175  q,x(),q.y(),q.z());
176 }
CGAL_KERNEL_MEDIUM_INLINE bool has_smaller_signed_dist_to_planeC3(const FT &ppx, const FT &ppy, const FT &ppz, const FT &pqx, const FT &pqy, const FT &pqz, const FT &prx, const FT &pry, const FT &prz, const FT &px, const FT &py, const FT &pz, const FT &qx, const FT &qy, const FT &qz)
void int int REAL * x
Definition: read.cpp:74
NT q

Here is the call graph for this function: