X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Mirror.h;h=35d5c146cf1cd9496744630a440b1805dd865af6;hb=1a59f21be05badd17bcac9ce82b2857b961f1d2e;hp=69e9494d95aa3017a78ca6f17e88b5a5ef1a4fa3;hpb=97c6d9faa9466aadd9c3c43489d5f68c888a7be2;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Mirror.h b/src/SketcherPrs/SketcherPrs_Mirror.h index 69e9494d9..35d5c146c 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"; }