Add more decimals to node coordinates to improve accuracy

This commit is contained in:
jonjenssen
2024-03-04 18:22:10 +01:00
committed by jonjenssen
parent a2fa2a0e77
commit bcc4f7c901

View File

@@ -61,7 +61,7 @@ bool RifInpExportTools::printNodes( std::ostream& stream, const std::vector<cvf:
for ( size_t i = 0; i < nodes.size(); i++ )
{
stream << i + 1 << ", " << std::setprecision( 10 ) << nodes[i].x() << ", " << nodes[i].y() << ", " << nodes[i].z() << std::endl;
stream << i + 1 << ", " << nodes[i].x() << ", " << std::setprecision( 15 ) << nodes[i].y() << ", " << nodes[i].z() << std::endl;
}
return stream.good();