OGS
MeshNodesOnPoint.h
Go to the documentation of this file.
1
10#pragma once
11
12#include <vector>
13
14#include "GeoLib/Point.h"
15#include "GeoLib/Grid.h"
16
18
19#include "MeshLib/Node.h"
20
21namespace MeshLib
22{
23class Mesh;
24}
25
26namespace MeshGeoToolsLib
27{
32{
33public:
45 GeoLib::Grid<MeshLib::Node> const& mesh_grid,
46 GeoLib::Point const& pnt, double epsilon_radius,
47 SearchAllNodes search_all_nodes);
48
50 MeshLib::Mesh const& getMesh() const { return _mesh; }
51
56 std::vector<std::size_t> const& getNodeIDs() const { return _msh_node_ids; }
57
63 GeoLib::Point const& getPoint() const { return _pnt; }
64
65private:
68 std::vector<std::size_t> _msh_node_ids;
69};
70} // end namespace MeshGeoToolsLib
Definition of the Point class.
Definition of the Grid class.
Definition of the Node class.
MeshNodesOnPoint(MeshLib::Mesh const &mesh, GeoLib::Grid< MeshLib::Node > const &mesh_grid, GeoLib::Point const &pnt, double epsilon_radius, SearchAllNodes search_all_nodes)
GeoLib::Point const & getPoint() const
std::vector< std::size_t > const & getNodeIDs() const
std::vector< std::size_t > _msh_node_ids
MeshLib::Mesh const & getMesh() const
return the mesh object