Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Convert M_float to double & the missing code in the width_simplex.cpp

Subject: CGAL users discussion list

List archive

[cgal-discuss] Convert M_float to double & the missing code in the width_simplex.cpp


Chronological Thread 
  • From: daisy <>
  • To:
  • Subject: [cgal-discuss] Convert M_float to double & the missing code in the width_simplex.cpp
  • Date: Sat, 14 Apr 2012 04:11:37 -0700 (PDT)

First, about M_Float. I want to use the width_simplex example of CGAL.
However, the output resut is expressed by the type MP_Float defined by
cgal. I want to convert the type to double or float. Or I can't compare the
it with my own method. How can I convert the type for output?

Second, about width_simplex.cpp. I think some codes is missing in this file.
/Plane_3 e1, e2;
std::cout << "Planes: E1: " << e1 << ". E2: " << e2 <<std::endl;&lt;/i>
Obviously, there are no values about el and el. The missing codes should be:
*simplex.get_width_planes(e1,e2); *

Finally, what is the algorithm adopted by the width_simplex? Is there any
reference paper published?

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Convert-M-float-to-double-the-missing-code-in-the-width-simplex-cpp-tp4557009p4557009.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page