0021684: EDF 2221 : Display the arguments and the name of the operations

In MakeCurveParametric(), store creation parameters using GEOMImpl_ICurveParametric
This commit is contained in:
eap 2013-06-17 12:49:52 +00:00
parent 33dea8badc
commit e86fadf71e

View File

@ -34,29 +34,29 @@
#ifdef HAVE_FINITE
#undef HAVE_FINITE
#endif
#include <Standard_Stream.hxx>
#include <GEOMImpl_ICurvesOperations.hxx>
#include <GEOMImpl_Types.hxx>
#include "GEOMImpl_ICurvesOperations.hxx"
#include "GEOMImpl_Types.hxx"
#include <GEOM_Function.hxx>
#include <GEOM_PythonDump.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_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_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 <Basics_OCCTVersion.hxx>
@ -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