From defe9b3d2a9221ed2d8beeba162d063e23e60535 Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 12 Oct 2011 09:35:40 +0000 Subject: [PATCH] rnc: Modified the contour detection in order to build a spline instead of a polyline as an output of the operation --- src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2