-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
for (ListOfMakeShape::const_iterator
anIt = aGenMakeShapes.cbegin(); anIt != aGenMakeShapes.cend(); ++anIt) {
GeomMakeShapePtr anAlgo = (*anIt);
- std::shared_ptr<GeomAlgoAPI_Prism> aPrismAlgo = std::dynamic_pointer_cast<GeomAlgoAPI_Prism>(anAlgo);
+ std::shared_ptr<GeomAlgoAPI_Prism> aPrismAlgo =
+ std::dynamic_pointer_cast<GeomAlgoAPI_Prism>(anAlgo);
// Cut the prism by all objects and throw away end pieces
- std::shared_ptr<GeomAlgoAPI_ThroughAll> aToolAlgo (new GeomAlgoAPI_ThroughAll(aPrismAlgo, anObjects));
+ std::shared_ptr<GeomAlgoAPI_ThroughAll> aToolAlgo (
+ new GeomAlgoAPI_ThroughAll(aPrismAlgo, anObjects));
// Checking that the algorithm worked properly
if (!aToolAlgo->isDone() || aToolAlgo->shape()->isNull() || !aToolAlgo->isValid()) {