X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Tangent.h;h=baed8cf7d988478b8582d447de568a58ba72867b;hb=cd6bf982e7dc443e050e4d93b4954951daebcf15;hp=78aaff550be0a6b1aba32a65701e76325c86ade5;hpb=4d94557b6a27aaf59ae51e60ebfdbff7569b3044;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Tangent.h b/src/SketcherPrs/SketcherPrs_Tangent.h index 78aaff550..baed8cf7d 100644 --- a/src/SketcherPrs/SketcherPrs_Tangent.h +++ b/src/SketcherPrs/SketcherPrs_Tangent.h @@ -28,6 +28,13 @@ public: const std::shared_ptr& thePlane); DEFINE_STANDARD_RTTI(SketcherPrs_Tangent) + + /// 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 "tangent.png"; }