mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added function for importing surfaces from OpenWorks XYZ files.
Added helper function for fuzzy comparing vectors. Adjusted (old) code to avoid warnings.
This commit is contained in:
committed by
Magne Sjaastad
parent
2b30ff3117
commit
8290f3e293
@@ -185,6 +185,10 @@ bool RimFileSurface::loadDataFromFile()
|
||||
|
||||
surface = m_gocadData->gocadGeometry();
|
||||
}
|
||||
else if ( filePath.endsWith( "dat", Qt::CaseInsensitive ) )
|
||||
{
|
||||
surface = RifSurfaceImporter::readOpenWorksXyzFile( filePath );
|
||||
}
|
||||
|
||||
m_vertices = surface.first;
|
||||
m_tringleIndices = surface.second;
|
||||
|
||||
Reference in New Issue
Block a user