CGAL 5.5.5 - dD Geometry Kernel
CGAL::Epick_d< DimensionTag >::Compute_squared_radius_d Class Reference

#include <CGAL/Epick_d.h>

Public Member Functions

template<class ForwardIterator >
FT operator() (ForwardIterator first, ForwardIterator last)
 returns the radius of the sphere defined by A=tuple[first,last). More...
 

Member Function Documentation

◆ operator()()

template<typename DimensionTag >
template<class ForwardIterator >
FT CGAL::Epick_d< DimensionTag >::Compute_squared_radius_d::operator() ( ForwardIterator  first,
ForwardIterator  last 
)

returns the radius of 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.