From: oan Date: Fri, 29 Jan 2016 14:22:52 +0000 (+0300) Subject: Modified STEP resource file in order to prevent producing of faces unsuitable for... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a14b9a3541ec38c40f9e120c636b9f79c98b6265;p=occt-copy.git Modified STEP resource file in order to prevent producing of faces unsuitable for OCCT algorithms due to pcurves translated as lines instead of bsplines in case if tolerance specified in STEP file fully covers the target face. Test case added. Modified xdistc2dc2dss command in order to catch output in draw interpretor. --- diff --git a/src/GeometryTest/GeometryTest_TestProjCommands.cxx b/src/GeometryTest/GeometryTest_TestProjCommands.cxx index 2fbd7713d4..37b6867259 100644 --- a/src/GeometryTest/GeometryTest_TestProjCommands.cxx +++ b/src/GeometryTest/GeometryTest_TestProjCommands.cxx @@ -112,7 +112,7 @@ static Standard_Integer xdistcc(Draw_Interpretor& , Standard_Integer n, const ch //function : xdistc2dc2dss //purpose : //======================================================================= -static Standard_Integer xdistc2dc2dss(Draw_Interpretor& , Standard_Integer n, const char** a) +static Standard_Integer xdistc2dc2dss(Draw_Interpretor& di, Standard_Integer n, const char** a) { if (n < 7) { @@ -132,28 +132,28 @@ static Standard_Integer xdistc2dc2dss(Draw_Interpretor& , Standard_Integer n, co aC2d1=DrawTrSurf::GetCurve2d(a[1]); if (aC2d1.IsNull()) { - cout<