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
NPAL18095: Pb. with dump python and mesh group by filter.
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_ProjectionSource2D.hxx
diff --git
a/src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
b/src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
index 2a6b6d6565ed1cf986a042c5b1771124dcfef8d8..2ad26a6d0e14b8a2eeaa3b128176ffd2c6fa59c2 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
+++ b/
src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
@@
-32,7
+32,6
@@
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-#include <TopoDS_Face.hxx>
#include <TopoDS_Vertex.hxx>
class SMESH_Gen;
#include <TopoDS_Vertex.hxx>
class SMESH_Gen;
@@
-60,9
+59,15
@@
public:
throw ( SALOME_Exception );
/*!
throw ( SALOME_Exception );
/*!
- * Returns the source face
+ * Returns the source face
or a group containing faces
*/
*/
- TopoDS_Face GetSourceFace() const;
+ TopoDS_Shape GetSourceFace() const;
+
+ /*!
+ * Returns true the source face is a group of faces
+ */
+ bool IsCompoundSource() const
+ { return !_sourceFace.IsNull() && _sourceFace.ShapeType() == TopAbs_COMPOUND; }
/*!
* Sets source <mesh> to take a mesh pattern from
/*!
* Sets source <mesh> to take a mesh pattern from
@@
-143,7
+148,7
@@
public:
protected:
protected:
- TopoDS_
Face
_sourceFace;
+ TopoDS_
Shape
_sourceFace;
SMESH_Mesh* _sourceMesh;
TopoDS_Vertex _sourceVertex1;
TopoDS_Vertex _sourceVertex2;
SMESH_Mesh* _sourceMesh;
TopoDS_Vertex _sourceVertex1;
TopoDS_Vertex _sourceVertex2;