OGS
BoundaryElementsAtPoint.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <vector>
13
14
namespace
GeoLib
15
{
16
class
Point
;
17
}
18
19
namespace
MeshLib
20
{
21
class
Mesh;
22
class
Element;
23
}
24
25
namespace
MeshGeoToolsLib
26
{
27
class
MeshNodeSearcher;
28
30
class
BoundaryElementsAtPoint
final
31
{
32
public
:
42
BoundaryElementsAtPoint
(
MeshLib::Mesh
const
& mesh,
43
MeshNodeSearcher
const
& mshNodeSearcher,
44
GeoLib::Point
const
& point,
45
const
bool
multiple_nodes_allowed);
46
47
~BoundaryElementsAtPoint
();
48
49
GeoLib::Point
const
&
getPoint
()
const
50
{
51
return
_point
;
52
}
53
55
std::vector<MeshLib::Element*>
const
&
getBoundaryElements
()
const
56
{
57
return
_boundary_elements
;
58
}
59
60
private
:
61
GeoLib::Point
const
&
_point
;
62
std::vector<MeshLib::Element*>
_boundary_elements
;
63
};
64
65
}
// end namespace MeshGeoToolsLib
GeoLib::Point
Definition
Point.h:31
MeshGeoToolsLib::BoundaryElementsAtPoint
This class collects point elements located at a given point elements.
Definition
BoundaryElementsAtPoint.h:31
MeshGeoToolsLib::BoundaryElementsAtPoint::getBoundaryElements
std::vector< MeshLib::Element * > const & getBoundaryElements() const
Return the vector of boundary elements (i.e. points).
Definition
BoundaryElementsAtPoint.h:55
MeshGeoToolsLib::BoundaryElementsAtPoint::getPoint
GeoLib::Point const & getPoint() const
Definition
BoundaryElementsAtPoint.h:49
MeshGeoToolsLib::BoundaryElementsAtPoint::BoundaryElementsAtPoint
BoundaryElementsAtPoint(MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Point const &point, const bool multiple_nodes_allowed)
Definition
BoundaryElementsAtPoint.cpp:23
MeshGeoToolsLib::BoundaryElementsAtPoint::_boundary_elements
std::vector< MeshLib::Element * > _boundary_elements
Definition
BoundaryElementsAtPoint.h:62
MeshGeoToolsLib::BoundaryElementsAtPoint::_point
GeoLib::Point const & _point
Definition
BoundaryElementsAtPoint.h:61
MeshGeoToolsLib::BoundaryElementsAtPoint::~BoundaryElementsAtPoint
~BoundaryElementsAtPoint()
Definition
BoundaryElementsAtPoint.cpp:106
MeshGeoToolsLib::MeshNodeSearcher
Definition
MeshNodeSearcher.h:53
MeshLib::Mesh
Definition
Mesh.h:43
GeoLib
Definition
ProjectData.h:36
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:24
MeshLib
Definition
ProjectData.h:41
MeshLib::Point
TemplateElement< PointRule1 > Point
Definition
Point.h:20
MeshGeoToolsLib
BoundaryElementsAtPoint.h
Generated by
1.11.0