X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_FaceBuilder.h;h=49ec19c3084da7dea685cc74fd7bcfd497f60111;hb=3205d0f18200948632155bbe7b640bc1e482243d;hp=d71ec0b9cff9c7c8eb3794bbc7c0cbe38e067d16;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h index d71ec0b9c..49ec19c30 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h @@ -35,6 +35,10 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder /// Returns the plane of the planar face. If it is not planar, returns empty ptr. static std::shared_ptr plane(std::shared_ptr theFace); + /// Creates the planar face by given point of the center and normal to the plane. + static std::shared_ptr planarFace(std::shared_ptr theCenter, + std::shared_ptr theNormal); + /// Creates a planar face by given plane, left lower point and size. static std::shared_ptr planarFace(std::shared_ptr thePlane, double theX, double theY,