mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 08:10:36 +05:00
PAL9874. Fix error in SMESH_HypoFilter::IsGlobalPredicate
This commit is contained in:
parent
452107403b
commit
8999d48ca9
@ -35,10 +35,10 @@
|
|||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <TopoDS_Shape.hxx>
|
||||||
|
|
||||||
class SMESH_HypoFilter;
|
class SMESH_HypoFilter;
|
||||||
class SMESH_Hypothesis;
|
class SMESH_Hypothesis;
|
||||||
class TopoDS_Shape;
|
|
||||||
|
|
||||||
class SMESH_HypoPredicate {
|
class SMESH_HypoPredicate {
|
||||||
public:
|
public:
|
||||||
@ -151,7 +151,7 @@ class SMESH_HypoFilter: public SMESH_HypoPredicate
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct IsGlobalPredicate : public SMESH_HypoPredicate {
|
struct IsGlobalPredicate : public SMESH_HypoPredicate {
|
||||||
const TopoDS_Shape& _mainShape;
|
TopoDS_Shape _mainShape;
|
||||||
IsGlobalPredicate( const TopoDS_Shape& mainShape ):_mainShape(mainShape){}
|
IsGlobalPredicate( const TopoDS_Shape& mainShape ):_mainShape(mainShape){}
|
||||||
bool IsOk(const SMESH_Hypothesis* aHyp,
|
bool IsOk(const SMESH_Hypothesis* aHyp,
|
||||||
const TopoDS_Shape& aShape) const;
|
const TopoDS_Shape& aShape) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user