OGS
FEFLOWGeoInterface.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 <iosfwd>
7#include <string>
8#include <vector>
9
10class QDomElement;
11
12namespace GeoLib
13{
14class GEOObjects;
15class Point;
16class Polyline;
17}
18
19namespace FileIO
20{
25{
26public:
36 void readFEFLOWFile(const std::string& filename,
37 GeoLib::GEOObjects& geo_objects);
38
44 static void readSuperMesh(std::ifstream& in, unsigned dimension,
45 std::vector<GeoLib::Point*>& points,
46 std::vector<GeoLib::Polyline*>& lines);
47
48private:
50 static void readPoints(QDomElement& nodesEle, const std::string& tag,
51 int dim, std::vector<GeoLib::Point*>& points);
52};
53} // namespace FileIO
static void readPoints(QDomElement &nodesEle, const std::string &tag, int dim, std::vector< GeoLib::Point * > &points)
void readFEFLOWFile(const std::string &filename, GeoLib::GEOObjects &geo_objects)
static void readSuperMesh(std::ifstream &in, unsigned dimension, std::vector< GeoLib::Point * > &points, std::vector< GeoLib::Polyline * > &lines)
Container class for geometric objects.
Definition GEOObjects.h:46
Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices ...
Definition Polyline.h:29