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