CGAL 6.1 - dD Geometry Kernel
Loading...
Searching...
No Matches
CGAL::Epeck_d< DimensionTag >::Construct_power_sphere_d Class Reference

#include <CGAL/Epeck_d.h>

Public Member Functions

template<class ForwardIterator >
Weighted_point_d operator() (ForwardIterator first, ForwardIterator last)
 returns a weighted point on the affine hull of the weighted points of A=tuple[first,last) at power distance 0 of each of them.
 

Member Function Documentation

◆ operator()()

template<typename DimensionTag >
template<class ForwardIterator >
Weighted_point_d CGAL::Epeck_d< DimensionTag >::Construct_power_sphere_d::operator() ( ForwardIterator  first,
ForwardIterator  last 
)

returns a weighted point on the affine hull of the weighted points of A=tuple[first,last) at power distance 0 of each of them.

In other words, this returns the smallest sphere orthogonal to the spheres of A.

Precondition
A is affinely independent.
Template Parameters
ForwardIteratorhas Epeck_d::Weighted_point_d as value type.