X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Pipe.h;h=54f64c462f1be780dfc6389bcfbd01b0cb10a979;hb=530f5aff42069e844c4a4ef164088ea23ba0e2dd;hp=8814118d18b69124ad023e4f265bfc47b86bde54;hpb=5315361b0c34c6e603474413024db5485c850d80;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h index 8814118d1..54f64c462 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h @@ -26,17 +26,17 @@ public: /// \brief Creates extrusion for the given shape along a path. /// \param[in] theBaseShape base shape(vertex, edge, wire of face). /// \param[in] thePathShape path shape(edge or wire). - GEOMALGOAPI_EXPORT GeomAlgoAPI_Pipe(const std::shared_ptr theBaseShape, - const std::shared_ptr thePathShape); + GEOMALGOAPI_EXPORT GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape, + const GeomShapePtr thePathShape); /// \brief Creates extrusion for the given shape along a path. /// \param[in] theBaseShape base shape(vertex, edge, wire of face). /// \param[in] thePathShape path shape(edge or wire). /// \param[in] theBiNormal edge or wire to preserve the constant angle between the normal vector /// to the base object and the BiNormal vector. - GEOMALGOAPI_EXPORT GeomAlgoAPI_Pipe(const std::shared_ptr theBaseShape, - const std::shared_ptr thePathShape, - const std::shared_ptr theBiNormal); + GEOMALGOAPI_EXPORT GeomAlgoAPI_Pipe(const GeomShapePtr theBaseShape, + const GeomShapePtr thePathShape, + const GeomShapePtr theBiNormal); /// \brief Creates extrusion for the given shape along a path. /// \param[in] theBaseShapes base shape(vertex, edge, wire of face). @@ -45,30 +45,30 @@ public: /// to the base object and the BiNormal vector. GEOMALGOAPI_EXPORT GeomAlgoAPI_Pipe(const ListOfShape& theBaseShapes, const ListOfShape& theLocations, - const std::shared_ptr thePathShape); + const GeomShapePtr thePathShape); /// \return the list of shapes generated from theShape. /// \param[in] theShape base shape. /// \param[out] theHistory generated shapes. - GEOMALGOAPI_EXPORT void generated(const std::shared_ptr theShape, - ListOfShape& theHistory) override; + GEOMALGOAPI_EXPORT void generated(const GeomShapePtr theShape, + ListOfShape& theHistory); private: - void build(const std::shared_ptr theBaseShape, - const std::shared_ptr thePathShape); + void build(const GeomShapePtr theBaseShape, + const GeomShapePtr thePathShape); - void build(const std::shared_ptr theBaseShape, - const std::shared_ptr thePathShape, - const std::shared_ptr theBiNormal); + void build(const GeomShapePtr theBaseShape, + const GeomShapePtr thePathShape, + const GeomShapePtr theBiNormal); void build(const ListOfShape& theBaseShapes, const ListOfShape& theLocations, - const std::shared_ptr thePathShape); + const GeomShapePtr thePathShape); private: //bool myIsPipeShellUsed; - std::shared_ptr myBaseShape; - std::shared_ptr myPathShape; + GeomShapePtr myBaseShape; + GeomShapePtr myPathShape; }; #endif