mirror of https://github.com/CGAL/cgal
fix return type of to_interval, which is std::pair<double,double>
This commit is contained in:
parent
47d341c68d
commit
315152aeda
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue