From: gdd Date: Wed, 12 Oct 2011 09:35:40 +0000 (+0000) Subject: rnc: Modified the contour detection in order to build a spline instead of a polyline... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=defe9b3d2a9221ed2d8beeba162d063e23e60535;p=modules%2Fgeom.git rnc: Modified the contour detection in order to build a spline instead of a polyline as an output of the operation --- diff --git a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx index 780037e17..b96ff3f1e 100644 --- a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx +++ b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx @@ -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);