Salome HOME
Copyright update 2021
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintTangent.h
index 6af491ec770e5452bb4550a2da9a729b6685d33d..347a6d88370aa600e4cd2692170823064964a2ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,11 @@ public:
   virtual void notify(const FeaturePtr&      theFeature,
                       PlaneGCSSolver_Update* theUpdater);
 
+  /// \brief Tries to remove constraint
+  /// \return \c false, if current constraint contains another SketchPlugin constraints
+  /// (like for multiple coincidence)
+  virtual bool remove();
+
 protected:
   /// \brief Converts SketchPlugin constraint to a list of solver constraints
   virtual void process();
@@ -55,6 +60,8 @@ private:
   bool isArcArcInternal;
   double myCurveCurveAngle;
   AttributePtr mySharedPoint;
+  EntityWrapperPtr myAuxPoint;
+  ScalarWrapperPtr myAuxParameters[2];
 };
 
 #endif