diff --git a/src/GeometryTest/GeometryTest_TestProjCommands.cxx b/src/GeometryTest/GeometryTest_TestProjCommands.cxx index 2fbd7713d4..f9b7d4eb29 100644 --- a/src/GeometryTest/GeometryTest_TestProjCommands.cxx +++ b/src/GeometryTest/GeometryTest_TestProjCommands.cxx @@ -344,6 +344,9 @@ static Standard_Integer xdistcs(Draw_Interpretor& di, Standard_Integer n, const iSize=3; // dT=(aT2-aT1)/(aNbP-1); + + Standard_Real aMaxParam = 0.0; + Standard_Real aMaxDist = 0.0; for (i=0; i aMaxDist) + { + aMaxParam = aT; + aMaxDist = aD; + } } + + di << "Max distance = " << aMaxDist << "\n" ; + di << "Param = " << aMaxParam << "\n" ; // return 0; }