OGS
MeshNodesAlongSurface.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 <vector>
7
9
10namespace GeoLib
11{
12class Surface;
13}
14
15namespace MeshLib
16{
17class Mesh;
18}
19
20namespace MeshGeoToolsLib
21{
26{
27public:
40 double epsilon_radius,
41 SearchAllNodes search_all_nodes);
42
44 MeshLib::Mesh const& getMesh() const;
45
50 std::vector<std::size_t> const& getNodeIDs () const;
51
57 GeoLib::Surface const& getSurface () const;
58
59private:
62 std::vector<std::size_t> _msh_node_ids;
63};
64} // end namespace MeshGeoToolsLib
A Surface is represented by Triangles. It consists of a reference to a vector of (pointers to) points...
std::vector< std::size_t > const & getNodeIDs() const
MeshLib::Mesh const & getMesh() const
return the mesh object
GeoLib::Surface const & getSurface() const
MeshNodesAlongSurface(MeshLib::Mesh const &mesh, GeoLib::Surface const &sfc, double epsilon_radius, SearchAllNodes search_all_nodes)