X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_EdgeBuilder.h;h=b7b97aa7ee6818e881ed2106c38d0dd3e79adc09;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=0bd67621bc66ffeeb8b0b286949902e7a87f9dfe;hpb=9e884586cb9e6221e2eff8f52c227332c289130c;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h index 0bd67621b..b7b97aa7e 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h @@ -21,10 +21,21 @@ 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); - /// Creates edge - axis of the given cylindrical face + + /// Creates linear edge by three dimensions. + /// \param theX the X dimension + /// \param theY the Y dimension + /// \param theZ the Z dimension + static std::shared_ptr line(double theDX, + double theDY, + double theDZ); + + /// Creates edge - axis of the given cylindrical face. The result axis edge is infinite static std::shared_ptr cylinderAxis( std::shared_ptr theCylindricalFace);