X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_BoundingBox.cpp;h=81defef93b51f493c546d4da7991d6133b605123;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=123a0a4a2cef61471e7b5300fd41336e89fd0365;hpb=1fd15bed1c62f994a3438bc4a12f44d0361f98c9;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp b/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp index 123a0a4a2..81defef93 100644 --- a/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp +++ b/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2021 CEA/DEN, EDF R&D +// Copyright (C) 2018-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include "FeaturesAPI_BoundingBox.h" -#include +#include #include #include #include @@ -60,7 +60,7 @@ void FeaturesAPI_BoundingBox::dump(ModelHighAPI_Dumper& theDumper) const const std::string& aDocName = theDumper.name(aBase->document()); AttributeSelectionPtr anAttrObject; - anAttrObject = aBase->selection(FeaturesPlugin_CreateBoundingBox::OBJECT_ID()); + anAttrObject = aBase->selection(FeaturesPlugin_BoundingBox::OBJECT_ID()); theDumper << aBase << " = model.getBoundingBox(" << aDocName << ", " << anAttrObject; @@ -73,7 +73,7 @@ BoundingBoxPtr getBoundingBox(const std::shared_ptr& thePart, { FeaturePtr aFeature = - thePart->addFeature(FeaturesPlugin_CreateBoundingBox::ID()); + thePart->addFeature(FeaturesPlugin_BoundingBox::ID()); BoundingBoxPtr aBoundingBox;