OGS
createSurface.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 <memory>
8
9namespace GeoLib
10{
11class Polyline;
12class Surface;
13class GEOObjects;
14} // namespace GeoLib
15
16namespace FileIO
17{
24bool createSurface(GeoLib::Polyline const& ply,
25 GeoLib::GEOObjects& geometries,
26 std::string const& geometry_name,
27 std::string const& gmsh_binary);
28
32std::unique_ptr<GeoLib::Surface> createSurfaceWithEarClipping(
33 GeoLib::Polyline const& line);
34} // namespace FileIO
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
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
bool createSurface(GeoLib::Polyline const &ply, GeoLib::GEOObjects &geometries, std::string const &geometry_name, std::string const &gmsh_binary)
std::unique_ptr< GeoLib::Surface > createSurfaceWithEarClipping(GeoLib::Polyline const &line)