Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright comment
[modules/yacs.git]
/
src
/
engine
/
BlocPoint.hxx
diff --git
a/src/engine/BlocPoint.hxx
b/src/engine/BlocPoint.hxx
index c3034572ecd306c995f89569d664c7a5c9635944..c5aaa7060af7d61b4bd8f64d0ab8e27f145841f7 100644
(file)
--- a/
src/engine/BlocPoint.hxx
+++ b/
src/engine/BlocPoint.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2015-20
19 CEA/DEN, EDF R&D
+// Copyright (C) 2015-20
24 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// 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:
protected:
std::list<AbstractPoint *> _nodes;
public:
+ BlocPoint() = default;
BlocPoint(const std::list<AbstractPoint *>& nodes, AbstractPoint *father);
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);
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();
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);
};
protected:
void getOutPoint(AbstractPoint *node);
};