OGS
MeshNodesAlongPolyline.h
Go to the documentation of this file.
1 
12 #pragma once
13 
14 #include <vector>
15 
17 
18 namespace GeoLib
19 {
20 class Polyline;
21 }
22 
23 namespace MeshLib
24 {
25 class Mesh;
26 }
27 
28 namespace MeshGeoToolsLib
29 {
37 {
38 public:
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 
70 private:
73  std::vector<std::size_t> _msh_node_ids;
74  std::vector<double> _dist_of_proj_node_from_ply_start;
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:51
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)