Version: 6.3.1
Public Member Functions | Data Fields

SMESH_HypoFilter.ApplicablePredicate Struct Reference

#include <SMESH_HypoFilter.hxx>

Inheritance diagram for SMESH_HypoFilter.ApplicablePredicate:
Inheritance graph
[legend]

Public Member Functions

 ApplicablePredicate (const TopoDS_Shape &theShape)
bool IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const

Data Fields

int _shapeType

Detailed Description

Definition at line 150 of file SMESH_HypoFilter.hxx.


Constructor & Destructor Documentation

SMESH_HypoFilter.ApplicablePredicate::ApplicablePredicate ( const TopoDS_Shape &  theShape)

Definition at line 97 of file SMESH_HypoFilter.cxx.

{
  _shapeType = ( theShape.IsNull() ? TopAbs_SHAPE : theShape.ShapeType());
}

Member Function Documentation

bool SMESH_HypoFilter.ApplicablePredicate::IsOk ( const SMESH_Hypothesis aHyp,
const TopoDS_Shape &  aShape 
) const [virtual]

Implements SMESH_HypoPredicate.

Definition at line 75 of file SMESH_HypoFilter.cxx.

References SMESH_subMesh.IsApplicableHypotesis().

{
  return SMESH_subMesh::IsApplicableHypotesis( aHyp, (TopAbs_ShapeEnum)_shapeType );
};

Field Documentation

Definition at line 151 of file SMESH_HypoFilter.hxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS