X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_EdgeBuilder.h;h=ffd042b4c52c2e7a6a967b69a87471a2e199e6ca;hb=f5c7bb3100ed321392da42f61c2ab505833ec61a;hp=ef0f82df49d04931d80d748a35c2667dcc4232e6;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h index ef0f82df4..ffd042b4c 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h @@ -21,9 +21,14 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_EdgeBuilder { public: - /// Creates linear edge by two points + /// Creates linear edge by two points. + /// \param theStart a first point of an edge + /// \param theEnd an end point of an edge static std::shared_ptr line(std::shared_ptr theStart, - std::shared_ptr theEnd); + std::shared_ptr theEnd); + /// Creates edge - axis of the given cylindrical face. The result axis edge is infinite + static std::shared_ptr cylinderAxis( + std::shared_ptr theCylindricalFace); /// Creates linear edge in a form of a circle by a point and a circle radius static std::shared_ptr lineCircle(std::shared_ptr theCenter,