Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
commentaire
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_Indexer.hxx
diff --git
a/src/SMESHUtils/SMESH_Indexer.hxx
b/src/SMESHUtils/SMESH_Indexer.hxx
index ff5628bbe1f33f4e202c9068d67dc6cb414141da..2bf6b78b472e5b4eddb958822bd6bef9d7130fe8 100644
(file)
--- a/
src/SMESHUtils/SMESH_Indexer.hxx
+++ b/
src/SMESHUtils/SMESH_Indexer.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
19
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-82,7
+82,7
@@
struct SMESH_Indexer3D
* the directions. Any combination of these transformations is allowed.
*
* The following code picks up a transformation such that two known array items
* the directions. Any combination of these transformations is allowed.
*
* The following code picks up a transformation such that two known array items
- * appear in
a
desired positions:
+ * appear in desired positions:
* \code
* for ( int ori = 0; ori < SMESH_OrientedIndexer::MAX_ORI+1; ++ori )
* {
* \code
* for ( int ori = 0; ori < SMESH_OrientedIndexer::MAX_ORI+1; ++ori )
* {
@@
-101,10
+101,10
@@
class SMESH_OrientedIndexer : public SMESH_Indexer
public:
enum OriFlags //!< transformation types
{
public:
enum OriFlags //!< transformation types
{
- REV_X = 1, REV_Y = 2, SWAP_XY = 4, MAX_ORI = REV_X|REV_Y|SWAP_XY
+
NO_TRSF = 0,
REV_X = 1, REV_Y = 2, SWAP_XY = 4, MAX_ORI = REV_X|REV_Y|SWAP_XY
};
};
- SMESH_OrientedIndexer( const SMESH_Indexer& indexer, const int oriFlags ):
+ SMESH_OrientedIndexer( const SMESH_Indexer& indexer, const int oriFlags
= NO_TRSF
):
TFather( indexer._xSize, indexer._ySize ),
_xRevFun( (oriFlags & REV_X) ? & reverse : & lazy ),
_yRevFun( (oriFlags & REV_Y) ? & reverse : & lazy ),
TFather( indexer._xSize, indexer._ySize ),
_xRevFun( (oriFlags & REV_X) ? & reverse : & lazy ),
_yRevFun( (oriFlags & REV_Y) ? & reverse : & lazy ),