From e86fadf71e93459ac3a22267487e8c4b4e4799ee Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 17 Jun 2013 12:49:52 +0000 Subject: [PATCH] 0021684: EDF 2221 : Display the arguments and the name of the operations In MakeCurveParametric(), store creation parameters using GEOMImpl_ICurveParametric --- src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx | 57 ++++++++++++--------- 1 file changed, 34 insertions(+), 23 deletions(-) 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 -- 2.39.2