Salome HOME
Issue #2167: error when create circle
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MultiRotation.h
index 416f477b14ef26bfe20fb94fbb89ad319e53dbd5..3a1be2088bd46f66a413418e9f465c38c0c055c2 100644 (file)
@@ -65,12 +65,6 @@ class SketchPlugin_MultiRotation : public SketchPlugin_ConstraintBase
     static const std::string MY_ANGLE_ID("MultiRotationAngle");
     return MY_ANGLE_ID;
   }
-  /// End point of translation
-  inline static const std::string& ANGLE_FULL_ID()
-  {
-    static const std::string MY_ANGLE_FULL_ID("MultiRotationFullAngle");
-    return MY_ANGLE_FULL_ID;
-  }
 
   /// Total number of objects, initial and translated objects
   inline static const std::string& NUMBER_OF_OBJECTS_ID()
@@ -92,18 +86,18 @@ class SketchPlugin_MultiRotation : public SketchPlugin_ConstraintBase
   /// Returns the AIS preview
   SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
 
+  /// removes all fields from this feature: results, data, etc
+  SKETCHPLUGIN_EXPORT virtual void erase();
+
   /// \brief Use plugin manager for features creation
   SketchPlugin_MultiRotation();
 
 private:
   ObjectPtr copyFeature(ObjectPtr theObject);
-  void rotateFeature(ObjectPtr theInitial, ObjectPtr theTarget,
-                     double theCenterX, double theCenterY, double theAngle);
+  //void rotateFeature(ObjectPtr theInitial, ObjectPtr theTarget,
+  //                   double theCenterX, double theCenterY, double theAngle);
 
   bool updateFullAngleValue();
-
-private:
-  bool myBlockAngle; /// a boolean state to avoid recusive angle change in attributeChanged
 };
 
 #endif