Salome HOME
Updated copyright comment
[modules/yacs.git] / src / engine / BlocPoint.hxx
index c75f8ef486c93ef566e31f0e878d36125341a392..c5aaa7060af7d61b4bd8f64d0ab8e27f145841f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2015-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
@@ -34,14 +34,22 @@ namespace YACS
     protected:
       std::list<AbstractPoint *> _nodes;
     public:
+      BlocPoint() = default;
       BlocPoint(const std::list<AbstractPoint *>& nodes, AbstractPoint *father);
+      void deepCopyFrom(const BlocPoint& other);
       AbstractPoint *findPointWithNode(Node *node);
       AbstractPoint *getNodeAfter(Node *node);
       AbstractPoint *getNodeB4(Node *node);
-      bool contains(Node *node);
+      bool contains(Node *node) const override;
+      bool anyOf(const std::set<Node *>& nodes) const override;
       int getNumberOfNodes() const;
       const std::list<AbstractPoint *>& getListOfPoints() const { return _nodes; }
       virtual ~BlocPoint();
+      bool internalContinueForSimplify() const;
+      bool presenceOfNonSimpleCase() const;
+      AbstractPoint *getUnique();
+      const AbstractPoint *getUnique() const;
+      AbstractPoint *getUniqueAndReleaseIt();
     protected:
       void getOutPoint(AbstractPoint *node);
     };