OGS
|
This class computes the ids of the mesh nodes located at a given point.
Definition at line 31 of file MeshNodesOnPoint.h.
#include <MeshNodesOnPoint.h>
Public Member Functions | |
MeshNodesOnPoint (MeshLib::Mesh const &mesh, GeoLib::Grid< MeshLib::Node > const &mesh_grid, GeoLib::Point const &pnt, double epsilon_radius, SearchAllNodes search_all_nodes) | |
MeshLib::Mesh const & | getMesh () const |
return the mesh object | |
std::vector< std::size_t > const & | getNodeIDs () const |
GeoLib::Point const & | getPoint () const |
Private Attributes | |
MeshLib::Mesh const & | _mesh |
GeoLib::Point const & | _pnt |
std::vector< std::size_t > | _msh_node_ids |
MeshGeoToolsLib::MeshNodesOnPoint::MeshNodesOnPoint | ( | MeshLib::Mesh const & | mesh, |
GeoLib::Grid< MeshLib::Node > const & | mesh_grid, | ||
GeoLib::Point const & | pnt, | ||
double | epsilon_radius, | ||
SearchAllNodes | search_all_nodes ) |
Constructor of object, that search mesh nodes at a GeoLib::Point point within a given search radius.
mesh | Mesh object whose nodes are searched |
mesh_grid | Grid object constructed with mesh nodes |
pnt | a point |
epsilon_radius | Search radius |
search_all_nodes | whether this searches all nodes or only base nodes |
Definition at line 18 of file MeshNodesOnPoint.cpp.
References _mesh, _msh_node_ids, MeshLib::Mesh::getElementsConnectedToNode(), MeshLib::Mesh::getNode(), GeoLib::Grid< POINT >::getPointsInEpsilonEnvironment(), MeshLib::isBaseNode(), and MeshGeoToolsLib::Yes.
|
inline |
|
inline |
Access the vector of mesh node ids.
Definition at line 56 of file MeshNodesOnPoint.h.
References _msh_node_ids.
|
inline |
Deploying this method the user can get access to the underlying GeoLib::Point.
Definition at line 63 of file MeshNodesOnPoint.h.
References _pnt.
Referenced by MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs().
|
private |
Definition at line 66 of file MeshNodesOnPoint.h.
Referenced by MeshNodesOnPoint(), and getMesh().
|
private |
Definition at line 68 of file MeshNodesOnPoint.h.
Referenced by MeshNodesOnPoint(), and getNodeIDs().
|
private |
Definition at line 67 of file MeshNodesOnPoint.h.
Referenced by getPoint().