-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "FeaturesPlugin_Boolean.h"
-class GeomAlgoAPI_MakeShapeList;
-
/// \class FeaturesPlugin_BooleanFuse
/// \ingroup Plugins
/// \brief Feature for applying of Boolean Fuse operation.
/// Request for initialization of data model of the feature: adding all attributes.
FEATURESPLUGIN_EXPORT virtual void initAttributes();
- /// Creates a new part document if needed.
+ /// Performs the algorithm and stores results it in the data structure.
FEATURESPLUGIN_EXPORT virtual void execute();
public:
/// Use plugin manager for features creation.
FeaturesPlugin_BooleanFuse();
-
-private:
- /// Process unused sub-shapes of compounds.
- /// Keep the compound hierarchy, but merge top-level compounds
- /// into a single compound and add the result of the FUSE operation.
- GeomShapePtr keepUnusedSubsOfCompound(
- const GeomShapePtr& theFuseResult,
- const ObjectHierarchy& theObjectsHierarchy,
- const ObjectHierarchy& theToolsHierarchy,
- std::shared_ptr<GeomAlgoAPI_MakeShapeList> theMakeShapeList);
};
#endif