rnc : fixed a Bug found by Edward and due to use of int instead of CORBA::Long in MakeCurveParametricNew

This commit is contained in:
gdd 2011-09-07 09:42:52 +00:00
parent 984666cb57
commit acd45e23fa
2 changed files with 2 additions and 2 deletions

View File

@ -474,7 +474,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCurveParametric(const char*
*/ */
//============================================================================= //=============================================================================
GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr, GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr,
double theParamMin, double theParamMax, int theParamNbStep, double theParamMin, double theParamMax, CORBA::Long theParamNbStep,
GEOM::curve_type theCurveType) { GEOM::curve_type theCurveType) {
GEOM::GEOM_Object_var aGEOMObject; GEOM::GEOM_Object_var aGEOMObject;
//Set a not done flag //Set a not done flag

View File

@ -91,7 +91,7 @@ class GEOM_I_EXPORT GEOM_ICurvesOperations_i :
GEOM::curve_type theCurveType); GEOM::curve_type theCurveType);
GEOM::GEOM_Object_ptr MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr, GEOM::GEOM_Object_ptr MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr,
double theParamMin, double theParamMax, int theParamNbStep, double theParamMin, double theParamMax, CORBA::Long theParamNbStep,
GEOM::curve_type theCurveType); GEOM::curve_type theCurveType);
GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand, const GEOM::ListOfDouble& theWorkingPlane); GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand, const GEOM::ListOfDouble& theWorkingPlane);