Salome HOME
NPAL16182 ("Propagation on opposite edges" don't work with 5 edges quadrangle)
authoreap <eap@opencascade.com>
Fri, 15 Jun 2007 09:03:11 +0000 (09:03 +0000)
committereap <eap@opencascade.com>
Fri, 15 Jun 2007 09:03:11 +0000 (09:03 +0000)
+  bool IsAny() const { return myPredicates.empty(); }

src/SMESH/SMESH_HypoFilter.hxx

index a56d7d0f7e4c6a2b83a8310c16596e881f6744fd..6bb4fdc6a8d0fafdde6ffd2c8edd5e70199bdd1d 100644 (file)
@@ -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();