Skip to content
Snippets Groups Projects
Commit 44ef8bed authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

document the function

parent bc91a90c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,22 @@ class Mesh;
namespace MeshGeoToolsLib
{
/**
* Add line elements to a copy of a given mesh
*
* The function creates line elements from nodes located along user-provided polylines.
* New elements will have a distinct material ID for each polyline.
*
* \remark The function allows creation of duplicated line elements.
* \remark Line elements may not be placed along edges of existing elements.
*
* @param mesh original mesh
* @param ply_vec polyline vector whose nodes are used to create line elements
* @return a new mesh which is copied from a given mesh and additionally includes line elements
*/
MeshLib::Mesh* appendLinesAlongPolylines(const MeshLib::Mesh &mesh, const GeoLib::PolylineVec &ply_vec);
}
#endif
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