OGS
GMSInterface.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7#include <vector>
8
9namespace GeoLib
10{
11class Station;
12class StationBorehole;
13class Point;
14}
15
16namespace MeshLib
17{
18class Mesh;
19}
20
21namespace FileIO
22{
34class GMSInterface final
35{
36public:
40 static void writeBoreholesToGMS(const std::vector<GeoLib::Point*>* stations,
41 const std::string& filename);
42
44 static int readBoreholesFromGMS(std::vector<GeoLib::Point*>& boreholes,
45 const std::string& filename);
46
48 static MeshLib::Mesh* readMesh(const std::string& filename);
49};
50
51} // 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)
A borehole as a geometric object.
A Station (observation site) is basically a Point with some additional information.
Definition Station.h:26