X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_FaceBuilder.h;h=d71ec0b9cff9c7c8eb3794bbc7c0cbe38e067d16;hb=a5e05254be62b4bbb070e0b9e1659a6c68b587d7;hp=7db03a41b72cd57084eef25a5c4182e68756ff0f;hpb=aa32d461a6e60409d2473ebffa0e255c860589ab;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h index 7db03a41b..d71ec0b9c 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h @@ -27,6 +27,10 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_FaceBuilder static std::shared_ptr square(std::shared_ptr theCenter, std::shared_ptr theNormal, const double theSize); + /// Creates square planar face by given point of the center, + /// normal to the plane and size of square + static std::shared_ptr square(std::shared_ptr thePlane, + const double theSize); /// Returns the plane of the planar face. If it is not planar, returns empty ptr. static std::shared_ptr plane(std::shared_ptr theFace);