OGS
convertMeshToGeo.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 <limits>
7#include <string>
8
9namespace GeoLib
10{
11class GEOObjects;
12class Surface;
13} // namespace GeoLib
14
15namespace MeshLib
16{
17class Mesh;
18}
19
20namespace MeshToolsLib
21{
29bool convertMeshToGeo(const MeshLib::Mesh& mesh,
30 GeoLib::GEOObjects& geo_objects,
31 double eps = std::numeric_limits<double>::epsilon());
32
41MeshLib::Mesh* convertSurfaceToMesh(
42 const GeoLib::Surface& sfc, const std::string& mesh_name,
43 double eps = std::numeric_limits<double>::epsilon());
44
45} // namespace MeshToolsLib
Container class for geometric objects.
Definition GEOObjects.h:46
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
bool convertMeshToGeo(const MeshLib::Mesh &mesh, GeoLib::GEOObjects &geo_objects, double const eps)
MeshLib::Mesh * convertSurfaceToMesh(const GeoLib::Surface &sfc, const std::string &mesh_name, double eps)