OBJ precision and log messages

* Fixes #68: Increase precision in OBJ files (regression in commit 43f5d44)
* Add some verbose logging of a few geometry errors
This commit is contained in:
Lars Moastuen
2016-05-13 12:59:00 +02:00
committed by Thomas Krijnen
parent 01269e5dd5
commit 414d7bb810
2 changed files with 9 additions and 1 deletions
@@ -79,6 +79,8 @@ void WaveFrontOBJSerializer::write(const IfcGeom::TriangulationElement<real_t>*
? o->name() : o->unique_id()));
obj_stream << "g " << name << "\n";
obj_stream << "s 1" << "\n";
obj_stream << std::setprecision(std::numeric_limits<double>::digits10);
const IfcGeom::Representation::Triangulation<real_t>& mesh = o->geometry();