ifcplusplus
ifcplusplus copied to clipboard
Fixed notation instead of scientific
When double/float values are written to the .ifc as scientific notation seems
to upset a few IFC viewer. For instance, DDS-CAD viewer will throw an error and
does not show anything.
Could we please kindly use Fixed notation instead?
Thanks :)
void IfcPPWriterSTEP::writeModelToStream( std::stringstream& stream,
shared_ptr<IfcPPModel> model )
{
.
.
.
stream << std::setprecision( 15 );
stream << std::setiosflags( std::ios::showpoint );
stream << std::fixed; // Could we add this?
.
.
.
}
Original issue reported on code.google.com by [email protected] on 7 Jan 2015 at 3:54
Ok, I will add the line, thanks for the hint :)
Original comment by [email protected] on 7 Jan 2015 at 11:03
- Added labels: ****
- Removed labels: ****