Salome HOME
Using test for testing number of sub-shapes.
[modules/shaper.git] / src / SketchSolver / PlaneGCSSolver / PlaneGCSSolver_Storage.h
index de3fbe301a629b89b7e9abd6dc35877bfbdc06e3..ccf318aef52130d938a635c43c272a0cbdd61a58 100644 (file)
@@ -107,7 +107,9 @@ private:
   ///
   /// This is a workaround method to avoid some kinds of conflicting constraints:
   ///   * symmetric of two points placed on the mirror line (do not add perpendicular constraint)
-  bool isRedundant(GCSConstraintPtr theCheckedConstraint, ConstraintWrapperPtr theParentConstraint) const;
+  bool isRedundant(GCSConstraintPtr theCheckedConstraint,
+                   ConstraintWrapperPtr theParentConstraint,
+                   std::list<std::set<double*> >& theCoincidentPoints) const;
 
 private:
   GCS::VEC_pD                      myParameters;         ///< list of parameters
@@ -115,10 +117,12 @@ private:
   EntityID                         myEntityLastID;       ///< identifier of last added entity
   ConstraintID                     myConstraintLastID;   ///< identifier of last added constraint
 
+  /// additional constraints for correct processing of the arcs
   std::map<EntityWrapperPtr, std::vector<GCSConstraintPtr> >
-                                  myArcConstraintMap;    ///< additional constraints for correct processing of the arcs
+                                   myArcConstraintMap;
 
-  std::list<GCSConstraintPtr>      myRemovedConstraints; ///< list of removed constraints to notify solver
+  /// list of removed constraints to notify solver
+  std::list<GCSConstraintPtr>      myRemovedConstraints;
 };
 
 #endif