CGAL 5.1 - 2D and 3D Linear Geometry Kernel

See also
CGAL::side_of_oriented_sphere()

Functions

template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &s, const CGAL::Point_3< Kernel > &t)
 returns the relative position of point t to the sphere defined by p, q, r, and s. More...
 
template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &t)
 returns the position of the point t relative to the sphere passing through p, q, and r and whose center is in the plane defined by these three points. More...
 
template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &t)
 returns the position of the point t relative to the sphere that has pq as its diameter. More...
 

Function Documentation

◆ side_of_bounded_sphere() [1/3]

template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  r,
const CGAL::Point_3< Kernel > &  s,
const CGAL::Point_3< Kernel > &  t 
)

#include <CGAL/Kernel/global_functions.h>

returns the relative position of point t to the sphere defined by p, q, r, and s.

The order of the points p, q, r, and s does not matter.

Precondition
p, q, r and s are not coplanar.

◆ side_of_bounded_sphere() [2/3]

template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  r,
const CGAL::Point_3< Kernel > &  t 
)

#include <CGAL/Kernel/global_functions.h>

returns the position of the point t relative to the sphere passing through p, q, and r and whose center is in the plane defined by these three points.

◆ side_of_bounded_sphere() [3/3]

template<typename Kernel >
Bounded_side CGAL::side_of_bounded_sphere ( const CGAL::Point_3< Kernel > &  p,
const CGAL::Point_3< Kernel > &  q,
const CGAL::Point_3< Kernel > &  t 
)

#include <CGAL/Kernel/global_functions.h>

returns the position of the point t relative to the sphere that has pq as its diameter.