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)
{
theIsClosed,
theIsToReorder));
}
-
+//==================================================================================================
InterpolationPtr addInterpolation(const std::shared_ptr<ModelAPI_Document>& thePart,
const std::string & theXTexpression,
const std::string & theYTexpression,
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
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<ModelAPI_Document>& thePart,
const std::string & theXTexpression,
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");
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");