OGS
BoundaryElementsAtPoint.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
8
namespace
GeoLib
9
{
10
class
Point
;
11
}
12
13
namespace
MeshLib
14
{
15
class
Mesh
;
16
class
Element
;
17
}
18
19
namespace
MeshGeoToolsLib
20
{
21
class
MeshNodeSearcher
;
22
24
class
BoundaryElementsAtPoint
final
25
{
26
public
:
36
BoundaryElementsAtPoint
(
MeshLib::Mesh
const
& mesh,
37
MeshNodeSearcher
const
& mshNodeSearcher,
38
GeoLib::Point
const
& point,
39
const
bool
multiple_nodes_allowed);
40
41
~BoundaryElementsAtPoint
();
42
43
GeoLib::Point
const
&
getPoint
()
const
44
{
45
return
_point
;
46
}
47
49
std::vector<MeshLib::Element*>
const
&
getBoundaryElements
()
const
50
{
51
return
_boundary_elements
;
52
}
53
54
private
:
55
GeoLib::Point
const
&
_point
;
56
std::vector<MeshLib::Element*>
_boundary_elements
;
57
};
58
59
}
// end namespace MeshGeoToolsLib
GeoLib::Point
Definition
GeoLib/Point.h:20
MeshGeoToolsLib::BoundaryElementsAtPoint::getBoundaryElements
std::vector< MeshLib::Element * > const & getBoundaryElements() const
Return the vector of boundary elements (i.e. points).
Definition
BoundaryElementsAtPoint.h:49
MeshGeoToolsLib::BoundaryElementsAtPoint::getPoint
GeoLib::Point const & getPoint() const
Definition
BoundaryElementsAtPoint.h:43
MeshGeoToolsLib::BoundaryElementsAtPoint::BoundaryElementsAtPoint
BoundaryElementsAtPoint(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Point const &point, const bool multiple_nodes_allowed)
Definition
BoundaryElementsAtPoint.cpp:17
MeshGeoToolsLib::BoundaryElementsAtPoint::_boundary_elements
std::vector< MeshLib::Element * > _boundary_elements
Definition
BoundaryElementsAtPoint.h:56
MeshGeoToolsLib::BoundaryElementsAtPoint::_point
GeoLib::Point const & _point
Definition
BoundaryElementsAtPoint.h:55
MeshGeoToolsLib::BoundaryElementsAtPoint::~BoundaryElementsAtPoint
~BoundaryElementsAtPoint()
Definition
BoundaryElementsAtPoint.cpp:100
MeshGeoToolsLib::MeshNodeSearcher
Definition
MeshNodeSearcher.h:46
MeshLib::Element
Definition
Element.h:25
MeshLib::Mesh
Definition
Mesh.h:34
GeoLib
Definition
ProjectData.h:25
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:22
MeshLib
Definition
ProjectData.h:30
MeshGeoToolsLib
BoundaryElementsAtPoint.h
Generated by
1.14.0