CGAL 6.1 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::SideOfBoundedSphere_3 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableQuinaryFunction`

See also
  `CGAL::side_of_bounded_sphere()`

## Operations
A model of this concept must provide:
Bounded_side | operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r, const Kernel::Point_3 &s, const Kernel::Point_3 &t)
| returns the relative position of point `t` to the sphere defined by `p`, `q`, `r`, and `s`.
Bounded_side | operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &r, const Kernel::Point_3 &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.
Bounded_side | operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q, const Kernel::Point_3 &t)
| returns the position of the point `t` relative to the sphere that has `pq` as its diameter.

## Member Function Documentation

## ◆ operator()()

Bounded_side Kernel::SideOfBoundedSphere_3::operator() | ( | const Kernel::Point_3 & | p,
|  | const Kernel::Point_3 & | q,
|  | const Kernel::Point_3 & | r,
|  | const Kernel::Point_3 & | s,
|  | const Kernel::Point_3 & | t
| ) |  |

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.