OGS
MeshNodesAlongPolyline.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 Polyline;
13}
14
15namespace MeshLib
16{
17class Mesh;
18}
19
20namespace MeshGeoToolsLib
21{
29{
30public:
42 MeshLib::Mesh const& mesh, GeoLib::Polyline const& ply,
43 double epsilon_radius,
44 SearchAllNodes search_all_nodes);
45
47 MeshLib::Mesh const& getMesh() const;
48
53 std::vector<std::size_t> const& getNodeIDs () const;
54
60 GeoLib::Polyline const& getPolyline () const;
61
62private:
65 std::vector<std::size_t> _msh_node_ids;
67};
68} // end namespace MeshGeoToolsLib
Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices ...
Definition Polyline.h:29
std::vector< std::size_t > const & getNodeIDs() const
GeoLib::Polyline const & getPolyline() const
MeshLib::Mesh const & getMesh() const
return the mesh object
MeshNodesAlongPolyline(MeshLib::Mesh const &mesh, GeoLib::Polyline const &ply, double epsilon_radius, SearchAllNodes search_all_nodes)