Salome HOME
Simplification of environment due to SALOME standards
[modules/shaper.git] / src / PartSet / PartSet_SketcherReetntrantMgr.h
index ebdb0eb16b55b1178f40af4d356ec7845e1fcb9c..5f68d34ea801da84cd0be655b27c2b820d468092 100755 (executable)
@@ -54,6 +54,9 @@ public:
   /// Return true if the current edit operation is an internal
   bool isInternalEditActive() const;
 
+  /// Stop internal edit if the operation feature is invalid
+  void updateInternalEditActiveState();
+
   /// if the internal flags allow it and the manager is active, it starts an internal edit operation
   /// for the created operation.
   /// \param thePreviousAttributeID an index of the previous active attribute
@@ -139,6 +142,16 @@ private:
   /// Breaks sequense of automatically resterted operations
   void resetFlags();
 
+  /// Copy some feature specific attributes from the source to a new feature
+  /// This is type for Circle and Arc features
+  /// \param theSourceFeature a source feature
+  /// \param theNewFeature a new feature
+  /// \return true is something is copied
+  static bool copyReetntrantAttributes(const FeaturePtr& theSourceFeature,
+                                       const FeaturePtr& theNewFeature);
+
+  static bool isTangentArc(ModuleBase_Operation* theOperation);
+
   /// Returns the workshop
   XGUI_Workshop* workshop() const;