OGS
|
This class computes the ids of the mesh nodes along a surface.
Definition at line 34 of file MeshNodesAlongSurface.h.
#include <MeshNodesAlongSurface.h>
Public Member Functions | |
MeshNodesAlongSurface (MeshLib::Mesh const &mesh, GeoLib::Surface const &sfc, 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::Surface const & | getSurface () const |
Private Attributes | |
MeshLib::Mesh const & | _mesh |
GeoLib::Surface const & | _sfc |
std::vector< std::size_t > | _msh_node_ids |
MeshGeoToolsLib::MeshNodesAlongSurface::MeshNodesAlongSurface | ( | MeshLib::Mesh const & | mesh, |
GeoLib::Surface const & | sfc, | ||
double | epsilon_radius, | ||
SearchAllNodes | search_all_nodes ) |
Constructor of object, that search mesh nodes along a GeoLib::Surface object within a given search radius.
mesh | Mesh the search will be performed on. |
sfc | Along the GeoLib::Surface sfc the mesh nodes are searched. |
epsilon_radius | Euclidean distance tolerance value. Is the distance between a mesh node and the surface smaller than that value it is a mesh node near the surface. |
search_all_nodes | switch between searching all mesh nodes and searching the base nodes. |
Definition at line 25 of file MeshNodesAlongSurface.cpp.
References _mesh, _msh_node_ids, MeshLib::Mesh::computeNumberOfBaseNodes(), MeshLib::Mesh::getNodes(), MeshLib::Mesh::getNumberOfNodes(), GeoLib::Surface::isPntInBoundingVolume(), GeoLib::Surface::isPntInSfc(), and MeshGeoToolsLib::Yes.
MeshLib::Mesh const & MeshGeoToolsLib::MeshNodesAlongSurface::getMesh | ( | ) | const |
std::vector< std::size_t > const & MeshGeoToolsLib::MeshNodesAlongSurface::getNodeIDs | ( | ) | const |
Access the vector of mesh node ids.
Definition at line 55 of file MeshNodesAlongSurface.cpp.
References _msh_node_ids.
GeoLib::Surface const & MeshGeoToolsLib::MeshNodesAlongSurface::getSurface | ( | ) | const |
Deploying this method the user can get access to the underlying GeoLib::Surface.
Definition at line 60 of file MeshNodesAlongSurface.cpp.
References _sfc.
Referenced by MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs().
|
private |
Definition at line 69 of file MeshNodesAlongSurface.h.
Referenced by MeshNodesAlongSurface(), and getMesh().
|
private |
Definition at line 71 of file MeshNodesAlongSurface.h.
Referenced by MeshNodesAlongSurface(), and getNodeIDs().
|
private |
Definition at line 70 of file MeshNodesAlongSurface.h.
Referenced by getSurface().