From: eap Date: Fri, 15 Jun 2007 09:03:11 +0000 (+0000) Subject: NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle) X-Git-Tag: V3_2_7~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=774fc6f3d7b1be453fcfda65978b27b48bccc913;p=modules%2Fsmesh.git NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle) + bool IsAny() const { return myPredicates.empty(); } --- diff --git a/src/SMESH/SMESH_HypoFilter.hxx b/src/SMESH/SMESH_HypoFilter.hxx index a56d7d0f7..6bb4fdc6a 100644 --- a/src/SMESH/SMESH_HypoFilter.hxx +++ b/src/SMESH/SMESH_HypoFilter.hxx @@ -76,9 +76,15 @@ class SMESH_HypoFilter: public SMESH_HypoPredicate static SMESH_HypoPredicate* HasDim(const int theDim); static SMESH_HypoPredicate* HasType(const int theHypType); + /*! + * \brief check aHyp or/and aShape it is assigned to + */ bool IsOk (const SMESH_Hypothesis* aHyp, const TopoDS_Shape& aShape) const; - // check aHyp or/and aShape it is assigned to + /*! + * \brief return true if contains no predicates + */ + bool IsAny() const { return myPredicates.empty(); } ~SMESH_HypoFilter();