-
-////// ============================================================================
-////// Function: checkConstraintConsistence
-////// Class: SketchSolver_Group
-////// Purpose: verifies and changes parameters of the constraint
-////// ============================================================================
-////void SketchSolver_Group::checkConstraintConsistence(Slvs_Constraint& theConstraint)
-////{
-//// if (theConstraint.type == SLVS_C_PT_LINE_DISTANCE) {
-//// // Get constraint parameters and check the sign of constraint value
-////
-//// // point coordinates
-//// int aPtPos = Search(theConstraint.ptA, myEntities);
-//// int aPtParamPos = Search(myEntities[aPtPos].param[0], myParams);
-//// std::shared_ptr<GeomAPI_XY> aPoint(
-//// new GeomAPI_XY(myParams[aPtParamPos].val, myParams[aPtParamPos + 1].val));
-////
-//// // line coordinates
-//// int aLnPos = Search(theConstraint.entityA, myEntities);
-//// aPtPos = Search(myEntities[aLnPos].point[0], myEntities);
-//// aPtParamPos = Search(myEntities[aPtPos].param[0], myParams);
-//// std::shared_ptr<GeomAPI_XY> aStart(
-//// new GeomAPI_XY(-myParams[aPtParamPos].val, -myParams[aPtParamPos + 1].val));
-//// aPtPos = Search(myEntities[aLnPos].point[1], myEntities);
-//// aPtParamPos = Search(myEntities[aPtPos].param[0], myParams);
-//// std::shared_ptr<GeomAPI_XY> aEnd(
-//// new GeomAPI_XY(myParams[aPtParamPos].val, myParams[aPtParamPos + 1].val));
-////
-//// aEnd = aEnd->added(aStart);
-//// aPoint = aPoint->added(aStart);
-//// if (aPoint->cross(aEnd) * theConstraint.valA < 0.0)
-//// theConstraint.valA *= -1.0;
-//// }
-////}
-