OGS
|
This class searches boundary elements located on a given geometric object, i.e. polyline and surface. Note that internal boundaries are currently not supported.
Definition at line 38 of file BoundaryElementsSearcher.h.
#include <BoundaryElementsSearcher.h>
Public Member Functions | |
BoundaryElementsSearcher (MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher) | |
virtual | ~BoundaryElementsSearcher () |
destructor | |
std::vector< MeshLib::Element * > const & | getBoundaryElements (GeoLib::GeoObject const &geoObj, bool const multiple_nodes_allowed) |
Public Attributes | |
MeshLib::Mesh const & | mesh |
Private Attributes | |
MeshNodeSearcher const & | _mshNodeSearcher |
std::vector< BoundaryElementsAtPoint * > | _boundary_elements_at_point |
std::vector< BoundaryElementsAlongPolyline * > | _boundary_elements_along_polylines |
std::vector< BoundaryElementsOnSurface * > | _boundary_elements_along_surfaces |
MeshGeoToolsLib::BoundaryElementsSearcher::BoundaryElementsSearcher | ( | MeshLib::Mesh const & | mesh, |
MeshNodeSearcher const & | mshNodeSearcher ) |
Constructor
mesh | a mesh object |
mshNodeSearcher | a MeshNodeSearcher object which is internally used to search mesh nodes |
Definition at line 26 of file BoundaryElementsSearcher.cpp.
|
virtual |
destructor
Definition at line 32 of file BoundaryElementsSearcher.cpp.
References _boundary_elements_along_polylines, _boundary_elements_along_surfaces, and _boundary_elements_at_point.
std::vector< MeshLib::Element * > const & MeshGeoToolsLib::BoundaryElementsSearcher::getBoundaryElements | ( | GeoLib::GeoObject const & | geoObj, |
bool const | multiple_nodes_allowed ) |
generate boundary elements on the given geometric object (point, polyline, surface).
geoObj | a GeoLib::GeoObject where the nearest mesh node is searched for |
multiple_nodes_allowed | allows for finding multiple nodes within the given search radius for a point |
Definition at line 78 of file BoundaryElementsSearcher.cpp.
References _boundary_elements_along_polylines, _boundary_elements_along_surfaces, _boundary_elements_at_point, _mshNodeSearcher, MeshGeoToolsLib::getBoundaryElements(), GeoLib::GeoObject::getGeoType(), MeshGeoToolsLib::BoundaryElementsAtPoint::getPoint(), MeshGeoToolsLib::BoundaryElementsAlongPolyline::getPolyline(), MeshGeoToolsLib::BoundaryElementsOnSurface::getSurface(), mesh, GeoLib::POINT, GeoLib::POLYLINE, and GeoLib::SURFACE.
Referenced by MeshGeoToolsLib::constructAdditionalMeshesFromGeometries().
|
private |
Definition at line 68 of file BoundaryElementsSearcher.h.
Referenced by ~BoundaryElementsSearcher(), and getBoundaryElements().
|
private |
Definition at line 69 of file BoundaryElementsSearcher.h.
Referenced by ~BoundaryElementsSearcher(), and getBoundaryElements().
|
private |
Definition at line 67 of file BoundaryElementsSearcher.h.
Referenced by ~BoundaryElementsSearcher(), and getBoundaryElements().
|
private |
Definition at line 66 of file BoundaryElementsSearcher.h.
Referenced by getBoundaryElements().
MeshLib::Mesh const& MeshGeoToolsLib::BoundaryElementsSearcher::mesh |
Definition at line 63 of file BoundaryElementsSearcher.h.
Referenced by MeshGeoToolsLib::constructAdditionalMeshesFromGeometries(), and getBoundaryElements().