-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File: GeomAlgoAPI_Pipe.h
-// Created: 16 March 2016
-// Author: Dmitry Bobylev
+// Copyright (C) 2014-2020 CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
#ifndef GeomAlgoAPI_Pipe_H_
#define GeomAlgoAPI_Pipe_H_
/// \class GeomAlgoAPI_Pipe
/// \ingroup DataAlgo
-/// \brief Allows to create extrusion of objects along a path.
+/// \brief Allows to create extrusion of objects along a path.
/// It produces the following results from objects:\n
/// Vertex -> Edge\n
/// Edge -> Face\n
/// Face -> Solid
class GeomAlgoAPI_Pipe : public GeomAlgoAPI_MakeSweep
{
+ GeomAPI_DataMapOfShapeShape myMovedPath; ///< map from initial path edges to the moved
public:
/// \brief Creates extrusion for the given shape along a path.
/// \param[in] theBaseShape base shape(vertex, edge, wire of face).
void build(const ListOfShape& theBaseShapes,
const ListOfShape& theLocations,
const GeomShapePtr thePathShape);
+ /// keeps the information about the moved path shapes into myMovedPath field
+ void addMovedPath(GeomShapePtr thePath, GeomShapePtr theMoved);
};
#endif