OGS
MeshNodesAlongPolyline.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <vector>
15
17
18namespace GeoLib
19{
20class Polyline;
21}
22
23namespace MeshLib
24{
25class Mesh;
26}
27
28namespace MeshGeoToolsLib
29{
37{
38public:
50 MeshLib::Mesh const& mesh, GeoLib::Polyline const& ply,
51 double epsilon_radius,
52 SearchAllNodes search_all_nodes);
53
55 MeshLib::Mesh const& getMesh() const;
56
61 std::vector<std::size_t> const& getNodeIDs () const;
62
68 GeoLib::Polyline const& getPolyline () const;
69
70private:
73 std::vector<std::size_t> _msh_node_ids;
75};
76} // end namespace MeshGeoToolsLib
Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices ...
Definition Polyline.h:40
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)