Salome HOME
Radius dimension does not change the circle (issue #1399)
[modules/shaper.git] / src / SketchSolver / SolveSpaceSolver / SolveSpaceSolver_ConstraintWrapper.cpp
index 8419b9a2ed20e33d9357db8580a60f77df230d38..3ee9d559a75d5fdde2493ecddc5e84908be36fb6 100644 (file)
@@ -35,15 +35,6 @@ SketchSolver_ConstraintType SolveSpaceSolver_ConstraintWrapper::type() const
   return ConstraintType::fromSolveSpace(mySlvsConstraint.type);
 }
 
-void SolveSpaceSolver_ConstraintWrapper::setValue(const double& theValue)
-{
-  double aValue = theValue;
-  if (type() == CONSTRAINT_RADIUS)
-    aValue *= 2.0; // NOTE: SolveSpace uses constraint DIAMETER
-
-  SketchSolver_IConstraintWrapper::setValue(aValue);
-}
-
 bool SolveSpaceSolver_ConstraintWrapper::isUsed(FeaturePtr theFeature) const
 {
   std::list<EntityWrapperPtr>::const_iterator anIt = myConstrained.begin();