![]() |
OGS
|
|
This class collects element edges located along a polyline. Note that internal edges are not collected in this class.
Definition at line 27 of file BoundaryElementsAlongPolyline.h.
#include <BoundaryElementsAlongPolyline.h>
Public Member Functions | |
| BoundaryElementsAlongPolyline (MeshLib::Mesh const &mesh, MeshNodeSearcher const &mshNodeSearcher, GeoLib::Polyline const &ply) | |
| virtual | ~BoundaryElementsAlongPolyline () |
| destructor | |
| GeoLib::Polyline const & | getPolyline () const |
| std::vector< MeshLib::Element * > const & | getBoundaryElements () const |
Private Attributes | |
| GeoLib::Polyline const & | _ply |
| std::vector< MeshLib::Element * > | _boundary_elements |
| MeshGeoToolsLib::BoundaryElementsAlongPolyline::BoundaryElementsAlongPolyline | ( | MeshLib::Mesh const & | mesh, |
| MeshNodeSearcher const & | mshNodeSearcher, | ||
| GeoLib::Polyline const & | ply ) |
Constructor
| mesh | a mesh object |
| mshNodeSearcher | a MeshNodeSearcher object which is internally used to search mesh nodes |
| ply | a polyline object where edges are searched |
Definition at line 98 of file BoundaryElementsAlongPolyline.cpp.
References _boundary_elements, _ply, MeshLib::Mesh::getElement(), MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs(), MeshLib::ElementSearch::getSearchedElementIDs(), and MeshLib::ElementSearch::searchByNodeIDs().
|
virtual |
destructor
Definition at line 168 of file BoundaryElementsAlongPolyline.cpp.
References _boundary_elements.
|
inline |
Return the vector of boundary elements (i.e. edges). The elements are sorted according to their distance to the starting point of the given polyline.
Definition at line 56 of file BoundaryElementsAlongPolyline.h.
References _boundary_elements.
|
inline |
Deploying this method the user can get access to the underlying GeoLib::Polyline.
Definition at line 49 of file BoundaryElementsAlongPolyline.h.
References _ply.
Referenced by MeshGeoToolsLib::BoundaryElementsSearcher::getBoundaryElements().
|
private |
Definition at line 63 of file BoundaryElementsAlongPolyline.h.
Referenced by BoundaryElementsAlongPolyline(), ~BoundaryElementsAlongPolyline(), and getBoundaryElements().
|
private |
Definition at line 62 of file BoundaryElementsAlongPolyline.h.
Referenced by BoundaryElementsAlongPolyline(), and getPolyline().