From edb337c968cdbc8b46f2f733155ca4a243ddd5ba Mon Sep 17 00:00:00 2001 From: lucasjerome Date: Fri, 19 Feb 2021 16:48:24 +0100 Subject: [PATCH] FIx error comments --- src/BuildAPI/BuildAPI_Interpolation.cpp | 6 +++--- src/BuildAPI/BuildAPI_Interpolation.h | 10 +++++----- src/BuildPlugin/BuildPlugin_Interpolation.h | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) 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"); -- 2.39.2