OGS
MeshNodesOnPoint.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
#include "
GeoLib/Point.h
"
9
#include "
GeoLib/Grid.h
"
10
11
#include "
MeshGeoToolsLib/SearchAllNodes.h
"
12
13
#include "
MeshLib/Node.h
"
14
15
namespace
MeshLib
16
{
17
class
Mesh
;
18
}
19
20
namespace
MeshGeoToolsLib
21
{
25
class
MeshNodesOnPoint
26
{
27
public
:
38
MeshNodesOnPoint
(
MeshLib::Mesh
const
& mesh,
39
GeoLib::Grid<MeshLib::Node>
const
& mesh_grid,
40
GeoLib::Point
const
& pnt,
double
epsilon_radius,
41
SearchAllNodes
search_all_nodes);
42
44
MeshLib::Mesh
const
&
getMesh
()
const
{
return
_mesh
; }
45
50
std::vector<std::size_t>
const
&
getNodeIDs
()
const
{
return
_msh_node_ids
; }
51
57
GeoLib::Point
const
&
getPoint
()
const
{
return
_pnt
; }
58
59
private
:
60
MeshLib::Mesh
const
&
_mesh
;
61
GeoLib::Point
const
&
_pnt
;
62
std::vector<std::size_t>
_msh_node_ids
;
63
};
64
}
// end namespace MeshGeoToolsLib
Point.h
Grid.h
Node.h
SearchAllNodes.h
GeoLib::Grid
Definition
Grid.h:22
GeoLib::Point
Definition
GeoLib/Point.h:20
MeshGeoToolsLib::MeshNodesOnPoint::MeshNodesOnPoint
MeshNodesOnPoint(MeshLib::Mesh const &mesh, GeoLib::Grid< MeshLib::Node > const &mesh_grid, GeoLib::Point const &pnt, double epsilon_radius, SearchAllNodes search_all_nodes)
Definition
MeshNodesOnPoint.cpp:12
MeshGeoToolsLib::MeshNodesOnPoint::getPoint
GeoLib::Point const & getPoint() const
Definition
MeshNodesOnPoint.h:57
MeshGeoToolsLib::MeshNodesOnPoint::getNodeIDs
std::vector< std::size_t > const & getNodeIDs() const
Definition
MeshNodesOnPoint.h:50
MeshGeoToolsLib::MeshNodesOnPoint::_msh_node_ids
std::vector< std::size_t > _msh_node_ids
Definition
MeshNodesOnPoint.h:62
MeshGeoToolsLib::MeshNodesOnPoint::_mesh
MeshLib::Mesh const & _mesh
Definition
MeshNodesOnPoint.h:60
MeshGeoToolsLib::MeshNodesOnPoint::getMesh
MeshLib::Mesh const & getMesh() const
return the mesh object
Definition
MeshNodesOnPoint.h:44
MeshGeoToolsLib::MeshNodesOnPoint::_pnt
GeoLib::Point const & _pnt
Definition
MeshNodesOnPoint.h:61
MeshLib::Mesh
Definition
Mesh.h:34
MeshGeoToolsLib
Definition
AppendLinesAlongPolyline.cpp:22
MeshGeoToolsLib::SearchAllNodes
SearchAllNodes
Definition
SearchAllNodes.h:9
MeshLib
Definition
ProjectData.h:30
MeshGeoToolsLib
MeshNodesOnPoint.h
Generated by
1.14.0