OGS
BoundaryElementsAlongPolyline.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
8namespace GeoLib
9{
10class Polyline;
11}
12
13namespace MeshLib
14{
15class Mesh;
16class Element;
17} // namespace MeshLib
18
19namespace MeshGeoToolsLib
20{
22
28{
29public:
38 MeshNodeSearcher const& mshNodeSearcher,
39 GeoLib::Polyline const& ply);
40
43
49 GeoLib::Polyline const& getPolyline() const { return _ply; }
50
56 std::vector<MeshLib::Element*> const& getBoundaryElements() const
57 {
58 return _boundary_elements;
59 }
60
61private:
63 std::vector<MeshLib::Element*> _boundary_elements;
64};
65
66} // 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< MeshLib::Element * > const & getBoundaryElements() const
BoundaryElementsAlongPolyline(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Polyline const &ply)