]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation problem on Linux
authorazv <azv@opencascade.com>
Mon, 20 Mar 2017 08:34:16 +0000 (11:34 +0300)
committerazv <azv@opencascade.com>
Mon, 20 Mar 2017 08:34:16 +0000 (11:34 +0300)
src/SketchSolver/SketchSolver_ConstraintTangent.cpp

index 791de4cc2f3d470cbf1fd8ab32061bc49da1e028..709d09185bfe2ad3e4fe89ec65b5584d63321c8e 100644 (file)
@@ -279,7 +279,7 @@ static void adjustAngleBetweenCurves(const GCSCurvePtr& theCurve1,
                                      const GCSPointPtr& thePoint,
                                      double*            theAngle)
 {
-  double anAngle = GCS::System::calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint);
+  double anAngle = GCS::System().calculateAngleViaPoint(*theCurve1, *theCurve2, *thePoint);
   // bring angle to [-pi..pi]
   if (anAngle >  PI) anAngle -= 2.0 * PI;
   if (anAngle < -PI) anAngle += 2.0 * PI;