Salome HOME
Documentation update
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ2d.cpp
index 4ac7458640a9e61f1ef6681aa0c3eb6689615353..cbb16dd4be9757a23c4c84b90dc6cef6553a33ca 100644 (file)
@@ -39,7 +39,7 @@ static gp_Circ2d* newCirc2d(const double theCenterX, const double theCenterY,
   if (aCenter.IsEqual(aPoint, Precision::Confusion()))
     return NULL;
 
-  gp_Dir2d aDir(theCenterX - thePointX, theCenterY - thePointY);
+  gp_Dir2d aDir(thePointX - theCenterX, thePointY - theCenterY);
 
   return newCirc2d(theCenterX, theCenterY, aDir, aRadius);
 }