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
Merge from BR_Dev_For_4_0 branch (from mergeto_BR_QT4_Dev_17Jan08 tag)
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_ProjectionSource2D.hxx
diff --git
a/src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
b/src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
index 28c44aedba4a7dbef4e5d1695b9957faa10e3e94..e75e38dabf320ff7fb7aa588e6c03e000efc2438 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
+++ b/
src/StdMeshers/StdMeshers_ProjectionSource2D.hxx
@@
-34,7
+34,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;
@@
-62,9
+61,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
@@
-145,7
+150,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;