#include <GeomAlgoAPI_Partition.h>
-/**\class FeaturesPlugin_Partition
- * \ingroup Plugins
- * \brief Feature for applying of Partition operations on Solids. Partition makes conjunctional
- * faces of solids as shared. The result of partitions is a compsolid.
- * Main objects are solids, tool objects are solids or faces
- */
+/// \class FeaturesPlugin_Partition
+/// \ingroup Plugins
+/// \brief Feature for applying of Partition operations on Solids. Partition makes conjunctional
+/// faces of solids as shared. The result of partitions is a compsolid.
+/// Main objects are solids, tool objects are solids or faces
class FeaturesPlugin_Partition : public ModelAPI_Feature
{
public:
return MY_TOOL_LIST_ID;
}
+ /// attribute name of combine flag
+ inline static const std::string& COMBINE_ID()
+ {
+ static const std::string MY_COMBINE_ID("partition_combine");
+ return MY_COMBINE_ID;
+ }
+
/// Returns the kind of a feature
FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
{
FeaturesPlugin_Partition();
private:
- std::shared_ptr<GeomAPI_Shape> getShape(const std::string& theAttrName);
-
/// Load Naming data structure of the feature to the document
void loadNamingDS(std::shared_ptr<ModelAPI_ResultBody> theResultBody,
const std::shared_ptr<GeomAPI_Shape> theBaseShape,