Salome HOME
#1330 Multiply selection when Create fillet using Shift button
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Equal.h
index d958d412488c0c90cbe021e2e81eed08bcd5a35f..bba05f150c44b9da3177fd912fe5d8a8dc5db7a8 100644 (file)
@@ -26,6 +26,13 @@ public:
   Standard_EXPORT SketcherPrs_Equal(ModelAPI_Feature* theConstraint, 
                                        const std::shared_ptr<GeomAPI_Ax3>& thePlane);
   DEFINE_STANDARD_RTTI(SketcherPrs_Equal)
+
+  /// 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 "equal.png"; }