Salome HOME
updated copyright message
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_BoundingBox.cpp
index 123a0a4a2cef61471e7b5300fd41336e89fd0365..81defef93b51f493c546d4da7991d6133b605123 100644 (file)
@@ -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 <FeaturesPlugin_CreateBoundingBox.h>
+#include <FeaturesPlugin_BoundingBox.h>
 #include <ModelAPI_AttributeDoubleArray.h>
 #include <ModelHighAPI_Services.h>
 #include <ModelHighAPI_Tools.h>
@@ -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<ModelAPI_Document>& thePart,
 {
 
   FeaturePtr aFeature =
-      thePart->addFeature(FeaturesPlugin_CreateBoundingBox::ID());
+      thePart->addFeature(FeaturesPlugin_BoundingBox::ID());
 
   BoundingBoxPtr aBoundingBox;