Skip to content
Snippets Groups Projects
Commit a02e0d21 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MGTL] Add docu in class BoundaryElementSearcher.

parent de7eb263
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,13 @@ public: ...@@ -56,6 +56,13 @@ public:
*/ */
std::vector<MeshLib::Element*> const& getBoundaryElements(GeoLib::GeoObject const& geoObj); std::vector<MeshLib::Element*> const& getBoundaryElements(GeoLib::GeoObject const& geoObj);
/// For each boundary element found the corresponding bulk element id and
/// bulk element face id are returned.
///
/// @param geometry The boundary elements, bulk element ids and bulk
/// element face ids will be extracted for the given geometry (point,
/// polyline or surface).
/// @return @copydoc BoundaryElementsAtPoint::_bulk_ids
std::vector<std::pair<std::size_t, unsigned>> const& getBulkIDs( std::vector<std::pair<std::size_t, unsigned>> const& getBulkIDs(
GeoLib::GeoObject const& geometry); GeoLib::GeoObject const& geometry);
...@@ -66,6 +73,9 @@ public: ...@@ -66,6 +73,9 @@ public:
*/ */
std::vector<MeshLib::Element*> const& getBoundaryElementsAtPoint( std::vector<MeshLib::Element*> const& getBoundaryElementsAtPoint(
GeoLib::Point const& point); GeoLib::Point const& point);
/// @copybrief BoundaryElementsSearcher::getBulkIDs()
/// @param point The given point the boundary element will be searched for.
/// @return @copydoc BoundaryElementsAtPoint::_bulk_ids
std::vector<std::pair<std::size_t, unsigned>> const& getBulkIDsAtPoint( std::vector<std::pair<std::size_t, unsigned>> const& getBulkIDsAtPoint(
GeoLib::Point const& point); GeoLib::Point const& point);
...@@ -76,6 +86,9 @@ public: ...@@ -76,6 +86,9 @@ public:
*/ */
std::vector<MeshLib::Element*> const& getBoundaryElementsAlongPolyline( std::vector<MeshLib::Element*> const& getBoundaryElementsAlongPolyline(
GeoLib::Polyline const& ply); GeoLib::Polyline const& ply);
/// @copybrief BoundaryElementsSearcher::getBulkIDs()
/// @param ply The given polyline the boundary element will be searched for.
/// @return @copydoc BoundaryElementsAlongPolyline::_bulk_ids
std::vector<std::pair<std::size_t, unsigned>> const& std::vector<std::pair<std::size_t, unsigned>> const&
getBulkIDsAlongPolyline(GeoLib::Polyline const& ply); getBulkIDsAlongPolyline(GeoLib::Polyline const& ply);
...@@ -86,6 +99,10 @@ public: ...@@ -86,6 +99,10 @@ public:
*/ */
std::vector<MeshLib::Element*> const& getBoundaryElementsOnSurface( std::vector<MeshLib::Element*> const& getBoundaryElementsOnSurface(
GeoLib::Surface const& sfc); GeoLib::Surface const& sfc);
/// @copybrief BoundaryElementsSearcher::getBulkIDs()
/// @param sfc The given surface the boundary element will be searched
/// for.
/// @return @copydoc BoundaryElementsOnSurface::_bulk_ids
std::vector<std::pair<std::size_t, unsigned>> const& std::vector<std::pair<std::size_t, unsigned>> const&
getBulkIDsOnSurface(GeoLib::Surface const& sfc); getBulkIDsOnSurface(GeoLib::Surface const& sfc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment