OGS
|
This class collects element edges located along a polyline. Note that internal edges are not collected in this class.
Definition at line 32 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 102 of file BoundaryElementsAlongPolyline.cpp.
References _boundary_elements, MeshLib::Element::getEdge(), MeshLib::Mesh::getElement(), MeshGeoToolsLib::MeshNodeSearcher::getMeshNodeIDs(), MeshLib::ElementSearch::getSearchedElementIDs(), and MeshLib::ElementSearch::searchByNodeIDs().
|
virtual |
destructor
Definition at line 172 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 61 of file BoundaryElementsAlongPolyline.h.
References _boundary_elements.
|
inline |
Deploying this method the user can get access to the underlying GeoLib::Polyline.
Definition at line 54 of file BoundaryElementsAlongPolyline.h.
References _ply.
Referenced by MeshGeoToolsLib::BoundaryElementsSearcher::getBoundaryElements().
|
private |
Definition at line 68 of file BoundaryElementsAlongPolyline.h.
Referenced by BoundaryElementsAlongPolyline(), ~BoundaryElementsAlongPolyline(), and getBoundaryElements().
|
private |
Definition at line 67 of file BoundaryElementsAlongPolyline.h.
Referenced by getPolyline().