]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
rnc: Modified the contour detection in order to build a spline instead of a polyline...
authorgdd <gdd>
Wed, 12 Oct 2011 09:35:40 +0000 (09:35 +0000)
committergdd <gdd>
Wed, 12 Oct 2011 09:35:40 +0000 (09:35 +0000)
src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx

index 780037e171068c4ca349d28632a99fe1da46d2dd..b96ff3f1e4a5126c697a1e1f65f7ee4c6f4a3f44 100644 (file)
@@ -760,9 +760,9 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
         j++;
 //         }
       }
-      GEOM::GEOM_Object_var aWire = aCurveOperations->MakePolyline(geomContourPnts.in(), false);
+//       GEOM::GEOM_Object_var aWire = aCurveOperations->MakePolyline(geomContourPnts.in(), false);
 //       GEOM::GEOM_Object_var aContourCompound = aShapesOperations->MakeCompound(geomContourPnts);
-//       GEOM::GEOM_Object_var aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), false, true);
+      GEOM::GEOM_Object_var aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), false, false);
       if ( !aWire->_is_nil() )
       {
         geomContours->length(contourCount + 1);