Further cleanup of include dependencies
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
#include <cassert>
|
||||
|
||||
#ifndef NDEBUG
|
||||
#include <glibmm.h>
|
||||
#include <fstream>
|
||||
#endif
|
||||
|
||||
@@ -485,26 +484,6 @@ public:
|
||||
return (p1 + p2 * diff);
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
// Debug facility ; dump the content of the LUT in a file. No control of the filename is done
|
||||
void dump(Glib::ustring fname)
|
||||
{
|
||||
if (size) {
|
||||
Glib::ustring fname_ = fname + ".xyz"; // TopSolid'Design "plot" file format
|
||||
std::ofstream f (fname_.c_str());
|
||||
f << "$" << std::endl;
|
||||
|
||||
for (unsigned int iter = 0; iter < size; iter++) {
|
||||
f << iter << ", " << data[iter] << ", 0." << std::endl;
|
||||
}
|
||||
|
||||
f << "$" << std::endl;
|
||||
f.close ();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
operator bool (void) const
|
||||
{
|
||||
return size > 0;
|
||||
|
Reference in New Issue
Block a user