X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_FaceBuilder.h;h=c33013f02e51d5c102396fcffc3068296b4af604;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=603ed4620f3aa8d353bb98a5b7cbccad51bc368f;hpb=24e5375957ba83cea9bf9fbe9bff030df996914a;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h index 603ed4620..c33013f02 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h @@ -47,6 +47,10 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder const std::shared_ptr theVertex2, const std::shared_ptr theVertex3); + /// Creates a planar face parallel to theFace and passing through theVertex. + static std::shared_ptr planarFaceByFaceAndVertex(const std::shared_ptr theFace, + const std::shared_ptr theVertex); + /// Returns the plane of the planar face. If it is not planar, returns empty ptr. static std::shared_ptr plane(const std::shared_ptr theFace); };