-// Copyright (C) 2017-20xx CEA/DEN, EDF R&D
+// Copyright (C) 2017-2019 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
//
// 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef BuildPlugin_Solid_H_
BUILDPLUGIN_EXPORT virtual void execute();
protected:
- /// Build result
- /// \param[out] theOriginalShapes list of original shapes
- /// \param[out] theAlgorithm algorithm to build result
- /// \return \c true if algorithm finished without errors
- bool build(ListOfShape& theOriginalShapes, std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm);
-
/// Store result of algorithm
void storeResult(const ListOfShape& theOriginalShapes,
const GeomShapePtr& theResultShape,
const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm);
- /// Check the algorithm is failed
- bool isAlgorithmFailed(const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm);
-
- /// Explode compound to get single shape of specified type
- /// \return Empty shape if there is more than one shape in compound
- GeomShapePtr getSingleSubshape(const GeomShapePtr& theCompound,
- const GeomAPI_Shape::ShapeType theShapeType);
+ /// Explode compound to get single shape
+ GeomShapePtr getSingleSubshape(const GeomShapePtr& theCompound);
};
#endif