OGS
BoundaryElementsAlongPolyline.h
Go to the documentation of this file.
1
9#pragma once
10
11#include <vector>
12
13namespace GeoLib
14{
15class Polyline;
16}
17
18namespace MeshLib
19{
20class Mesh;
21class Element;
22} // namespace MeshLib
23
24namespace MeshGeoToolsLib
25{
26class MeshNodeSearcher;
27
33{
34public:
43 MeshNodeSearcher const& mshNodeSearcher,
44 GeoLib::Polyline const& ply);
45
48
54 GeoLib::Polyline const& getPolyline() const { return _ply; }
55
61 std::vector<MeshLib::Element*> const& getBoundaryElements() const
62 {
63 return _boundary_elements;
64 }
65
66private:
68 std::vector<MeshLib::Element*> _boundary_elements;
69};
70
71} // 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< MeshLib::Element * > const & getBoundaryElements() const
BoundaryElementsAlongPolyline(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Polyline const &ply)