From 774fc6f3d7b1be453fcfda65978b27b48bccc913 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 15 Jun 2007 09:03:11 +0000 Subject: [PATCH] NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle) + bool IsAny() const { return myPredicates.empty(); } --- src/SMESH/SMESH_HypoFilter.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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(); -- 2.39.2