mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 08:20:33 +05:00
rnc: Modified the contour detection in order to build a spline instead of a polyline as an output of the operation
This commit is contained in:
parent
25a9bfe5f5
commit
defe9b3d2a
@ -760,9 +760,9 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
|
|||||||
j++;
|
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 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() )
|
if ( !aWire->_is_nil() )
|
||||||
{
|
{
|
||||||
geomContours->length(contourCount + 1);
|
geomContours->length(contourCount + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user