Guess units if none are present and convert back if needed

This commit is contained in:
Thomas Krijnen
2011-11-02 12:52:35 +00:00
parent d6d3333f9d
commit 4dc0bdbe02
4 changed files with 26 additions and 4 deletions
+1
View File
@@ -71,5 +71,6 @@ JNIEXPORT bool JNICALL Java_org_ifcopenshell_IfcOpenShellModel_setIfcData (JNIEn
if ( ! data || ! length ) return false;
IfcGeomObjects::Settings(IfcGeomObjects::USE_WORLD_COORDS,true);
IfcGeomObjects::Settings(IfcGeomObjects::WELD_VERTICES,false);
IfcGeomObjects::Settings(IfcGeomObjects::CONVERT_BACK_UNITS,true);
return has_more = IfcGeomObjects::Init(data,length);
}