extend MeshPart.projectShapeOnMesh to allow list of points for projection, support keywords

This commit is contained in:
wmayer
2019-06-08 14:19:29 +02:00
parent 4494d384a6
commit f8b715aa7c
3 changed files with 123 additions and 10 deletions

View File

@@ -191,6 +191,10 @@ public:
* Project all edges of the shape onto the mesh using parallel projection.
*/
void projectParallelToMesh (const TopoDS_Shape &aShape, const Base::Vector3f& dir, std::vector<PolyLine>& rPolyLines) const;
/**
* Project all polylines onto the mesh using parallel projection.
*/
void projectParallelToMesh (const std::vector<PolyLine>& aEdges, const Base::Vector3f& dir, std::vector<PolyLine>& rPolyLines) const;
/**
* Cuts the mesh at the curve defined by \a aShape. This method call @ref projectToMesh() to get the
* split the facet at the found points. @see projectToMesh() for more details.