Version: 6.3.1
Public Member Functions | Data Fields

SMESH_HypoFilter.IsAssignedToPredicate Struct Reference

#include <SMESH_HypoFilter.hxx>

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

Public Member Functions

 IsAssignedToPredicate (const TopoDS_Shape &mainShape)
bool IsOk (const SMESH_Hypothesis *aHyp, const TopoDS_Shape &aShape) const

Data Fields

TopoDS_Shape _mainShape

Detailed Description

Definition at line 164 of file SMESH_HypoFilter.hxx.


Constructor & Destructor Documentation

SMESH_HypoFilter.IsAssignedToPredicate.IsAssignedToPredicate ( const TopoDS_Shape &  mainShape)

Definition at line 166 of file SMESH_HypoFilter.hxx.

:_mainShape(mainShape){}

Member Function Documentation

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

Implements SMESH_HypoPredicate.

Definition at line 118 of file SMESH_HypoFilter.cxx.

{
  return ( !_mainShape.IsNull() && !aShape.IsNull() && _mainShape.IsSame( aShape ));
}

Field Documentation

Definition at line 165 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