From: eap Date: Mon, 17 Jun 2013 12:49:52 +0000 (+0000) Subject: 0021684: EDF 2221 : Display the arguments and the name of the operations X-Git-Tag: BR_hydro_v_0_3_1~184 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e86fadf71e93459ac3a22267487e8c4b4e4799ee;p=modules%2Fgeom.git 0021684: EDF 2221 : Display the arguments and the name of the operations In MakeCurveParametric(), store creation parameters using GEOMImpl_ICurveParametric --- diff --git a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx index 86bc1cd77..9934610e3 100644 --- a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx @@ -34,29 +34,29 @@ #ifdef HAVE_FINITE #undef HAVE_FINITE #endif -#include - -#include -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include + +#include "GEOMImpl_ICurvesOperations.hxx" +#include "GEOMImpl_Types.hxx" + +#include "GEOM_Function.hxx" +#include "GEOM_PythonDump.hxx" + +#include "GEOMImpl_PolylineDriver.hxx" +#include "GEOMImpl_CircleDriver.hxx" +#include "GEOMImpl_SplineDriver.hxx" +#include "GEOMImpl_EllipseDriver.hxx" +#include "GEOMImpl_ArcDriver.hxx" +#include "GEOMImpl_SketcherDriver.hxx" +#include "GEOMImpl_3DSketcherDriver.hxx" + +#include "GEOMImpl_IPolyline.hxx" +#include "GEOMImpl_ICircle.hxx" +#include "GEOMImpl_ISpline.hxx" +#include "GEOMImpl_IEllipse.hxx" +#include "GEOMImpl_IArc.hxx" +#include "GEOMImpl_ISketcher.hxx" +#include "GEOMImpl_I3DSketcher.hxx" +#include "GEOMImpl_ICurveParametric.hxx" #include @@ -1144,6 +1144,17 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric } } + GEOMImpl_ICurveParametric aIP(aFunction); + aIP.SetExprX (thexExpr); + aIP.SetExprY (theyExpr); + aIP.SetExprZ (thezExpr); + aIP.SetParamMin (theParamMin); + aIP.SetParamMax (theParamMax); + if ( theNewMethod ) + aIP.SetParamNbStep(theParamNbStep); + else + aIP.SetParamStep (theParamStep); + //Compute the Curve value try { #if OCC_VERSION_LARGE > 0x06010000