X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Mirror.h;h=3d3d311e89aee290f61fc45afaf0fc8d98045d39;hb=acb27733bf87bc7fb401f82aca26d7a8c0b608d3;hp=69e9494d95aa3017a78ca6f17e88b5a5ef1a4fa3;hpb=27395bd5e5213d1c479d87191379515e2e60912c;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Mirror.h b/src/SketcherPrs/SketcherPrs_Mirror.h index 69e9494d9..3d3d311e8 100644 --- a/src/SketcherPrs/SketcherPrs_Mirror.h +++ b/src/SketcherPrs/SketcherPrs_Mirror.h @@ -26,6 +26,13 @@ public: Standard_EXPORT SketcherPrs_Mirror(ModelAPI_Feature* theConstraint, const std::shared_ptr& 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& 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