OGS
GMSInterface.h
Go to the documentation of this file.
1
15#pragma once
16
17#include <string>
18#include <vector>
19
20namespace GeoLib
21{
22class Station;
23class StationBorehole;
24class Point;
25}
26
27namespace MeshLib
28{
29class Mesh;
30}
31
32namespace FileIO
33{
45class GMSInterface final
46{
47public:
51 static void writeBoreholesToGMS(const std::vector<GeoLib::Point*>* stations,
52 const std::string& filename);
53
55 static int readBoreholesFromGMS(std::vector<GeoLib::Point*>& boreholes,
56 const std::string& filename);
57
59 static MeshLib::Mesh* readMesh(const std::string& filename);
60};
61
62} // namespace FileIO
Manages the import and export of Aquaveo GMS files into and out of GeoLib.
static int readBoreholesFromGMS(std::vector< GeoLib::Point * > &boreholes, const std::string &filename)
Imports borehole data from a file in GMS-format.
static MeshLib::Mesh * readMesh(const std::string &filename)
Reads a GMS *.3dm file and converts it to an CFEMesh.
static void writeBoreholesToGMS(const std::vector< GeoLib::Point * > *stations, const std::string &filename)
TemplateElement< PointRule1 > Point
Definition Point.h:20