|
@@ -8,18 +8,18 @@
|
|
#include "assign_scalar.h"
|
|
#include "assign_scalar.h"
|
|
|
|
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
- const typename CGAL::Epeck::FT & cgal,
|
|
|
|
|
|
+ const CGAL::Epeck::FT & cgal,
|
|
CGAL::Epeck::FT & d)
|
|
CGAL::Epeck::FT & d)
|
|
{
|
|
{
|
|
d = cgal;
|
|
d = cgal;
|
|
}
|
|
}
|
|
|
|
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
- const typename CGAL::Epeck::FT & _cgal,
|
|
|
|
|
|
+ const CGAL::Epeck::FT & _cgal,
|
|
double & d)
|
|
double & d)
|
|
{
|
|
{
|
|
// FORCE evaluation of the exact type otherwise interval might be huge.
|
|
// FORCE evaluation of the exact type otherwise interval might be huge.
|
|
- const typename CGAL::Epeck::FT cgal = _cgal.exact();
|
|
|
|
|
|
+ const CGAL::Epeck::FT cgal = _cgal.exact();
|
|
const auto interval = CGAL::to_interval(cgal);
|
|
const auto interval = CGAL::to_interval(cgal);
|
|
d = interval.first;
|
|
d = interval.first;
|
|
do {
|
|
do {
|
|
@@ -30,11 +30,11 @@ IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
}
|
|
}
|
|
|
|
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
IGL_INLINE void igl::copyleft::cgal::assign_scalar(
|
|
- const typename CGAL::Epeck::FT & _cgal,
|
|
|
|
|
|
+ const CGAL::Epeck::FT & _cgal,
|
|
float& d)
|
|
float& d)
|
|
{
|
|
{
|
|
// FORCE evaluation of the exact type otherwise interval might be huge.
|
|
// FORCE evaluation of the exact type otherwise interval might be huge.
|
|
- const typename CGAL::Epeck::FT cgal = _cgal.exact();
|
|
|
|
|
|
+ const CGAL::Epeck::FT cgal = _cgal.exact();
|
|
const auto interval = CGAL::to_interval(cgal);
|
|
const auto interval = CGAL::to_interval(cgal);
|
|
d = interval.first;
|
|
d = interval.first;
|
|
do {
|
|
do {
|