Salome HOME
Error management in py2yacs.
[modules/yacs.git] / src / engine / SetOfPoints.hxx
index bc29934b0d56dbc94af04bbcb9c9113394237854..cd2d8485c615d78f1aa34a0e0e9f3bfaff9c2c91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2015-2019  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
@@ -22,6 +22,7 @@
 
 #include "YACSlibEngineExport.hxx"
 #include "PlayGround.hxx"
+#include "PointVisitor.hxx"
 #include "AutoRefCnt.hxx"
 
 #include <map>
@@ -41,7 +42,9 @@ namespace YACS
     {
     public:
       SetOfPoints(const std::list<Node *>& nodes);
+      SetOfPoints(BagPoint *bp):_bp(bp) { }
       ~SetOfPoints();
+      void basicSimplify();
       void simplify();
       std::string getRepr() const;
       AbstractPoint *findPointWithNode(Node *node);
@@ -50,6 +53,7 @@ namespace YACS
       void getWeightRegardingDPL(ComplexWeight *weight);
       void partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap) const;
       AbstractPoint *getUniqueAndReleaseIt() const;
+      void accept(PointVisitor *pv);
     private:
       BagPoint *_bp;
     };