// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
return ( !_mainShape.IsNull() && !aShape.IsNull() && _mainShape.IsSame( aShape ));
}
+//=======================================================================
+//function : IsMoreLocalThanPredicate::IsOk
+//purpose :
+//=======================================================================
+
+bool SMESH_HypoFilter::IsMoreLocalThanPredicate::IsOk(const SMESH_Hypothesis* aHyp,
+ const TopoDS_Shape& aShape) const
+{
+ return ( aShape.ShapeType() > _shapeType );
+}
+
//=======================================================================
//function : SMESH_HypoFilter
//purpose :
return new ApplicablePredicate( theShape );
}
+//=======================================================================
+//function : IsMoreLocalThan
+//purpose :
+//=======================================================================
+
+SMESH_HypoPredicate* SMESH_HypoFilter::IsMoreLocalThan(const TopoDS_Shape& theShape)
+{
+ return new IsMoreLocalThanPredicate( theShape );
+}
+
//=======================================================================
//function : HasType
//purpose :