0

I've been looking around on the web for this but cannot find anything.

Is there a way to use the CGAL::mod() function with 2 doubles? I can do CGAL::mod(2,3) but not CGAL::mod(2.0,3.5) for example.

I get errors like this on compiling:

error: no match for call to ‘(CGAL::Algebraic_structure_traits_base<double, CGAL::Null_tag>::Mod {aka CGAL::Null_functor}) (const int&, const double&)’

Am I doing something wrong? From the documentation of the mod() function I understand that both arguments are of any tipe and that it can calculate it whilst compatible? I really don't understand that part, it's really technical but I hope you can help me.

David Merinos
  • 1,195
  • 1
  • 14
  • 36

0 Answers0