Salome HOME
Fix for the issue #2808 : Documentation on the "Groups" panel. Added description...
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeSelection.h
index 877cc06e5504958daf29436e0c85dd9f9a84a359..d2dec5bc49e02e0e4b0ceb595b33acd1c849f9f6 100644 (file)
@@ -115,12 +115,17 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute
   /// Returns true if recompute of selection become impossible
   virtual bool isInvalid() = 0;
 
+  /// Returns true if is geometrical selection.
+  virtual bool isGeometricalSelection() const = 0;
+
   /// To virtually destroy the fields of successors
   MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
 
   /// Returns the name by context. Adds the part name if the context is located in other document
   MODELAPI_EXPORT virtual std::string contextName(const ResultPtr& theContext) const = 0;
 
+  /// Makes the current local selection becomes all sub-shapes with same base geometry.
+  MODELAPI_EXPORT virtual void combineGeometrical() = 0;
 
  protected:
   /// Objects are created for features automatically