fix return type of to_interval, which is std::pair<double,double>

This commit is contained in:
Michael Hemmer 2010-05-20 15:15:38 +00:00
parent 47d341c68d
commit 315152aeda
1 changed files with 3 additions and 2 deletions

View File

@ -4,13 +4,14 @@
The template function \ccRefName\ computes for a given real embeddable
number $x$ a double interval containing $x$.
This interval is represented by a \ccc{CGAL::Interval_nt}.
This interval is represented by a \ccc{std::pair<double,double>}.
The function is guaranteed to be well defined in case the argument type
is a model of the \ccc{RealEmbeddable} concept.
\ccInclude{CGAL/number_utils.h}
\ccFunction{template <class NT> Interval_nt to_interval(const NT& x);}
\ccFunction{template <class NT>
std::pair<double,double> to_interval(const NT& x);}
{}
\ccSeeAlso