Salome HOME
Merge branch 'CPPHighAPI'
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Mirror.h
index 69e9494d95aa3017a78ca6f17e88b5a5ef1a4fa3..3d3d311e89aee290f61fc45afaf0fc8d98045d39 100644 (file)
@@ -26,6 +26,13 @@ public:
   Standard_EXPORT SketcherPrs_Mirror(ModelAPI_Feature* theConstraint, 
                                        const std::shared_ptr<GeomAPI_Ax3>& thePlane);
   DEFINE_STANDARD_RTTI(SketcherPrs_Mirror)
+
+  /// Returns true if the constraint feature arguments are correcly filled to build AIS presentation
+  /// \param theConstraint a constraint feature
+  /// \param thePlane a coordinate plane of current sketch
+  /// \return boolean result value
+  static bool IsReadyToDisplay(ModelAPI_Feature* theConstraint,
+                               const std::shared_ptr<GeomAPI_Ax3>& thePlane);
 protected:
   virtual const char* iconName() const { return "mirror.png"; }
 
@@ -33,7 +40,7 @@ protected:
 
   /// Update myPntArray according to presentation positions
   /// \return true in case of success
-  virtual bool updatePoints(double theStep) const;
+  virtual bool updateIfReadyToDisplay(double theStep) const;
 };
 
 #endif
\ No newline at end of file