From: lucasjerome Date: Fri, 19 Feb 2021 15:48:24 +0000 (+0100) Subject: FIx error comments X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=edb337c968cdbc8b46f2f733155ca4a243ddd5ba;p=modules%2Fshaper.git FIx error comments --- diff --git a/src/BuildAPI/BuildAPI_Interpolation.cpp b/src/BuildAPI/BuildAPI_Interpolation.cpp index f6ab52589..7704e540f 100644 --- a/src/BuildAPI/BuildAPI_Interpolation.cpp +++ b/src/BuildAPI/BuildAPI_Interpolation.cpp @@ -116,14 +116,14 @@ void BuildAPI_Interpolation::setReorder(const bool theIsToReorder) execIfBaseNotEmpty(); } - +//================================================================================================== void BuildAPI_Interpolation::setUseTangents(const bool theIsToUseTangents) { fillAttribute(theIsToUseTangents ? "true" : "", myuseTangents); execIfBaseNotEmpty(); } - +//================================================================================================== void BuildAPI_Interpolation::setTangents(const ModelHighAPI_Selection& theStartTangent, const ModelHighAPI_Selection& theEndTangent) { @@ -210,7 +210,7 @@ InterpolationPtr addInterpolation(const std::shared_ptr& theP theIsClosed, theIsToReorder)); } - +//================================================================================================== InterpolationPtr addInterpolation(const std::shared_ptr& thePart, const std::string & theXTexpression, const std::string & theYTexpression, diff --git a/src/BuildAPI/BuildAPI_Interpolation.h b/src/BuildAPI/BuildAPI_Interpolation.h index ebde245b3..edcdf5e60 100644 --- a/src/BuildAPI/BuildAPI_Interpolation.h +++ b/src/BuildAPI/BuildAPI_Interpolation.h @@ -91,13 +91,13 @@ public: zt, BuildPlugin_Interpolation::ZT_ID(), ModelAPI_AttributeString, /** zt expression*/, mint, BuildPlugin_Interpolation::MINT_ID(), - ModelAPI_AttributeDouble, /** zt expression*/, + ModelAPI_AttributeDouble, /** min expression*/, maxt, BuildPlugin_Interpolation::MAXT_ID(), - ModelAPI_AttributeDouble, /** zt expression*/, + ModelAPI_AttributeDouble, /** max expression*/, numstep, BuildPlugin_Interpolation::NUMSTEP_ID(), - ModelAPI_AttributeInteger, /** zt expression*/, + ModelAPI_AttributeInteger, /** Number step expression*/, creationmethod, BuildPlugin_Interpolation::CREATION_METHOD_ID(), - ModelAPI_AttributeString, /** zt expression*/) + ModelAPI_AttributeString, /** creation method*/) /// Modify base attribute of the feature. BUILDAPI_EXPORT @@ -146,7 +146,7 @@ InterpolationPtr addInterpolation(const std::shared_ptr& theP const bool theIsToReorder = false); /// \ingroup CPPHighAPI -/// \brief Create Interpolation feature using tangents. +/// \brief Create Interpolation feature using expression analytical. BUILDAPI_EXPORT InterpolationPtr addInterpolation(const std::shared_ptr& thePart, const std::string & theXTexpression, diff --git a/src/BuildPlugin/BuildPlugin_Interpolation.h b/src/BuildPlugin/BuildPlugin_Interpolation.h index 0b8c98bce..dac719eb1 100644 --- a/src/BuildPlugin/BuildPlugin_Interpolation.h +++ b/src/BuildPlugin/BuildPlugin_Interpolation.h @@ -135,14 +135,14 @@ public: return MY_MAXT_ID; } - /// attribute of parameter name + /// attribute of parameter name of variable inline static const std::string& VARIABLE_ID() { static const std::string MY_VARIABLE_ID("variable"); return MY_VARIABLE_ID; } - /// attribute of parameter name + /// attribute of parameter name of value inline static const std::string& VALUE_ID() { static const std::string MY_VALUE_ID("value"); @@ -156,7 +156,7 @@ public: return MY_EXPRESSION_ERROR_ID; } - /// Attribute name of max t. + /// Attribute name of number step. inline static const std::string& NUMSTEP_ID() { static const std::string MY_NUMSTEP_ID("numstep");