Function

CGAL::center_of_sphere

#include <CGAL/constructions_d.h>

template <class ForwardIterator>
Point_d<R> center_of_sphere ( ForwardIterator first, ForwardIterator last)
returns the center of the sphere spanned by the points in A = tuple[first,last).
Precondition: A contains d+1 affinely independent points of dimension d.
Requirement: The value type of ForwardIterator is Point_d<R>.