#12560 RifSurfio: Add export to GRI and IRAP binary/ASCII formats

This commit is contained in:
Magne Sjaastad committed 2026-03-16 14:00:07 +01:00
1 parent ca45a5658c
commit 70b4b63b24
2 files changed
+63

No files matched your search

@@ -40,4 +40,10 @@ class RifSurfio
{
public:
static std::expected<std::pair<RigRegularSurfaceData, std::vector<float>>, std::string> importSurfaceData( const std::string& filename );
static bool exportToGri( const std::string& filename, const RigRegularSurfaceData& surfaceData, const std::vector<float>& values );
static bool exportToIrap( const std::string& filename, const RigRegularSurfaceData& surfaceData, const std::vector<float>& values );
private:
static bool
exportImpl( const std::string& filename, const RigRegularSurfaceData& surfaceData, const std::vector<float>& values, bool binary );
};