-// Copyright (C) 2017-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <TopoDS_Shape.hxx>
-#include <vector>
+#include <memory>
+
+class GeomAlgoAPI_NExplode;
/// \class Selector_NExplode
/// \ingroup DataModel
/// Recompute the index if the old order was used. The value will contain the new ordered index.
SELECTOR_EXPORT TopoDS_Shape shape(int& theIndex);
-private:
- /// Reorder list of shapes.
- void reorder();
-
protected:
- std::vector<TopoDS_Shape> mySorted; ///< keep the ordered list of shapes
+ std::shared_ptr<GeomAlgoAPI_NExplode> mySorted; ///< keep the ordered list of shapes
bool myToBeReordered; ///< the list has to be reordered
};