CGAL::to_interval

Definition

The template function to_interval computes for a given real embeddable number x a double interval containing x. This interval is represented by a CGAL::Interval_nt. The function is guaranteed to be well defined in case the argument type is a model of the RealEmbeddable concept.

#include <CGAL/number_utils.h>

template <class NT>
Interval_nt to_interval ( NT x)

See Also

RealEmbeddable
RealEmbeddableTraits::ToInterval