Salome HOME
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git] / src / SketchSolver / SketchSolver_Storage.h
index 669f2c0eacc12fd31ef1491d0ef558ed982b3c33..3167dd1578cc5dd9cdd242cef2de901ba469bb8d 100644 (file)
@@ -113,6 +113,9 @@ public:
   int deleteTemporaryConstraint();
   /// \brief Checks the constraint is temporary
   bool isTemporary(const Slvs_hConstraint& theConstraintID) const;
+  /// \brief Number of temporary constraints
+  int numberTemporary() const
+  { return (int)myTemporaryConstraints.size(); }
 
   /// \brief Shows the sketch should be resolved
   bool isNeedToResolve() const