OGS
|
This class collects point elements located at a given point elements.
Definition at line 30 of file BoundaryElementsAtPoint.h.
#include <BoundaryElementsAtPoint.h>
Public Member Functions | |
BoundaryElementsAtPoint (MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Point const &point, const bool multiple_nodes_allowed) | |
~BoundaryElementsAtPoint () | |
GeoLib::Point const & | getPoint () const |
std::vector< MeshLib::Element * > const & | getBoundaryElements () const |
Return the vector of boundary elements (i.e. points). | |
Private Attributes | |
GeoLib::Point const & | _point |
std::vector< MeshLib::Element * > | _boundary_elements |
MeshGeoToolsLib::BoundaryElementsAtPoint::BoundaryElementsAtPoint | ( | MeshLib::Mesh const & | mesh, |
MeshNodeSearcher const & | mshNodeSearcher, | ||
GeoLib::Point const & | point, | ||
const bool | multiple_nodes_allowed ) |
Constructor
mesh | a mesh object |
mshNodeSearcher | a MeshNodeSearcher object which is internally used to search mesh nodes |
point | a point object where edges are searched |
multiple_nodes_allowed | Allows to find multiple nodes within the search radius, the nearest node is returned (as point element). This enables to specify larger search radius to find possible other geometries that don't match exactly to the mesh. |
Definition at line 26 of file BoundaryElementsAtPoint.cpp.
References _boundary_elements, _point, MathLib::Point3dWithID::getID(), MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs(), MeshLib::Mesh::getNode(), MeshLib::Mesh::getNodes(), OGS_FATAL, MathLib::sqrDist(), and WARN().
MeshGeoToolsLib::BoundaryElementsAtPoint::~BoundaryElementsAtPoint | ( | ) |
Definition at line 111 of file BoundaryElementsAtPoint.cpp.
References _boundary_elements.
|
inline |
Return the vector of boundary elements (i.e. points).
Definition at line 55 of file BoundaryElementsAtPoint.h.
References _boundary_elements.
|
inline |
Definition at line 49 of file BoundaryElementsAtPoint.h.
References _point.
Referenced by MeshGeoToolsLib::BoundaryElementsSearcher::getBoundaryElements().
|
private |
Definition at line 62 of file BoundaryElementsAtPoint.h.
Referenced by BoundaryElementsAtPoint(), ~BoundaryElementsAtPoint(), and getBoundaryElements().
|
private |
Definition at line 61 of file BoundaryElementsAtPoint.h.
Referenced by BoundaryElementsAtPoint(), and getPoint().