From 7bea392a5d289b757e2cbc9fcc9b67a3e2da8f51 Mon Sep 17 00:00:00 2001 From: mbs Date: Fri, 2 Dec 2022 09:36:22 +0000 Subject: [PATCH] renamed bool arguments --- src/FeaturesAPI/FeaturesAPI_Sewing.cpp | 10 +++++----- src/FeaturesAPI/FeaturesAPI_Sewing.h | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/FeaturesAPI/FeaturesAPI_Sewing.cpp b/src/FeaturesAPI/FeaturesAPI_Sewing.cpp index 65aa60826..3fd650c6f 100644 --- a/src/FeaturesAPI/FeaturesAPI_Sewing.cpp +++ b/src/FeaturesAPI/FeaturesAPI_Sewing.cpp @@ -93,10 +93,10 @@ void FeaturesAPI_Sewing::dump(ModelHighAPI_Dumper& theDumper) const theDumper << ", " << anAttrTolerance; AttributeBooleanPtr anAttrAllowNonMFold = aBase->boolean(FeaturesPlugin_Sewing::ALLOW_NON_MANIFOLD_ID()); - theDumper << ", " << anAttrAllowNonMFold; + theDumper << ", allowNonManifold = " << anAttrAllowNonMFold; AttributeBooleanPtr anAttrAlwaysResult = aBase->boolean(FeaturesPlugin_Sewing::ALWAYS_CREATE_RESULT_ID()); - theDumper << ", " << anAttrAlwaysResult; + theDumper << ", alwaysCreateResult = " << anAttrAlwaysResult; theDumper << ")" << std::endl; } @@ -105,11 +105,11 @@ void FeaturesAPI_Sewing::dump(ModelHighAPI_Dumper& theDumper) const SewingPtr addSewing(const std::shared_ptr& thePart, const std::list& theMainObjects, const ModelHighAPI_Double& theTolerance, - const bool theIsAllowNonManifold, - const bool theIsAlwaysCreateResult) + const bool allowNonManifold, + const bool alwaysCreateResult) { std::shared_ptr aFeature = thePart->addFeature(FeaturesAPI_Sewing::ID()); SewingPtr aSewing; - aSewing.reset(new FeaturesAPI_Sewing(aFeature, theMainObjects, theTolerance, theIsAllowNonManifold, theIsAlwaysCreateResult)); + aSewing.reset(new FeaturesAPI_Sewing(aFeature, theMainObjects, theTolerance, allowNonManifold, alwaysCreateResult)); return aSewing; } diff --git a/src/FeaturesAPI/FeaturesAPI_Sewing.h b/src/FeaturesAPI/FeaturesAPI_Sewing.h index 049294bdd..dd788721a 100644 --- a/src/FeaturesAPI/FeaturesAPI_Sewing.h +++ b/src/FeaturesAPI/FeaturesAPI_Sewing.h @@ -89,11 +89,11 @@ typedef std::shared_ptr SewingPtr; /// \ingroup CPPHighAPI /// \brief Create Sewing feature. -FEATURESAPI_EXPORT -SewingPtr addSewing(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const ModelHighAPI_Double& theTolerance, - const bool theIsAllowNonManifold, - const bool theIsAlwaysCreateResult); +FEATURESAPI_EXPORT SewingPtr addSewing( + const std::shared_ptr& thePart, + const std::list& theMainObjects, + const ModelHighAPI_Double& theTolerance, + const bool allowNonManifold, + const bool alwaysCreateResult); #endif // FEATURESAPI_SEWING_H_ -- 2.39.2