OGS
FEFLOWGeoInterface.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <iosfwd>
13#include <string>
14#include <vector>
15
16class QDomElement;
17
18namespace GeoLib
19{
20class GEOObjects;
21class Point;
22class Polyline;
23}
24
25namespace FileIO
26{
31{
32public:
42 void readFEFLOWFile(const std::string& filename,
43 GeoLib::GEOObjects& geo_objects);
44
50 static void readSuperMesh(std::ifstream& in, unsigned dimension,
51 std::vector<GeoLib::Point*>& points,
52 std::vector<GeoLib::Polyline*>& lines);
53
54private:
56 static void readPoints(QDomElement& nodesEle, const std::string& tag,
57 int dim, std::vector<GeoLib::Point*>& points);
58};
59} // 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:57
TemplateElement< PointRule1 > Point
Definition Point.h:20