From 9940adbd03c5746e4dc988ffa015b478e30c6bba Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 19 Oct 2011 13:51:56 +0000 Subject: [PATCH] rnc : removed unnecessary comments --- src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx index 7d3a679f0..b2671f988 100644 --- a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx +++ b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx @@ -753,18 +753,13 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects ) // double y = aContourPnt.Y(); // double z = aContourPnt.Z(); - // When using the new way with textures on shapes we just have to do the following - // TEST pour éviter les points doubles + // When using the new way with textures on shapes we just have to do the following int pnt_array[] = {it->x,it->y}; std::vector pnt (pnt_array, pnt_array + sizeof(pnt_array) / sizeof(int) ); - - MESSAGE("pnt[x] = "<x; double y = 0.5 *height - it->y; double z = 0; @@ -773,10 +768,6 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects ) geomContourPnts[j] = aGeomContourPnt; j++; } - else - { - MESSAGE("point deja insere") - } } GEOM::GEOM_Object_var aWire; @@ -787,7 +778,7 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects ) } else if(myOutputGroup->RadioButton1->isChecked()) { - aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), false, false); + aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), /*closed =*/ false, /*reordering =*/ false); } else return res; -- 2.39.2