OGS
TINInterface.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <string>
13#include <vector>
14
15#include "GeoLib/Point.h"
16#include "GeoLib/PointVec.h"
17
18namespace GeoLib
19{
20class Surface;
21
22namespace IO
23{
24
29{
30public:
39 static GeoLib::Surface* readTIN(std::string const& fname,
40 GeoLib::PointVec &pnt_vec,
41 std::vector<std::string>* errors = nullptr);
42
48 static void writeSurfaceAsTIN(GeoLib::Surface const& surface, std::string const& file_name);
49};
50
51} // end namespace IO
52} // end namespace GeoLib
Definition of the Point class.
Definition of the PointVec class.
static GeoLib::Surface * readTIN(std::string const &fname, GeoLib::PointVec &pnt_vec, std::vector< std::string > *errors=nullptr)
static void writeSurfaceAsTIN(GeoLib::Surface const &surface, std::string const &file_name)
This class manages pointers to Points in a std::vector along with a name. It also handles the deletio...
Definition PointVec.h:36
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
Definition Surface.h:33