\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 5.0 - dD Geometry Kernel
CGAL::Epick_d< DimensionTag >::Side_of_bounded_sphere_d Class Reference

#include <CGAL/Epick_d.h>

Definition

Public Member Functions

template<class ForwardIterator >
Bounded_side operator() (ForwardIterator first, ForwardIterator last, const Point_d &p)
 returns the relative position of point p to the sphere defined by A=tuple[first,last). More...
 

Member Function Documentation

◆ operator()()

template<typename DimensionTag >
template<class ForwardIterator >
Bounded_side CGAL::Epick_d< DimensionTag >::Side_of_bounded_sphere_d::operator() ( ForwardIterator  first,
ForwardIterator  last,
const Point_d p 
)

returns the relative position of point p to the sphere defined by A=tuple[first,last).

The sphere is centered in the affine hull of A and passes through all the points of A. The order of the points of A does not matter.

Precondition
A is affinely independent.
Template Parameters
ForwardIteratorhas Epick_d::Point_d as value type.