#include <SMESH_ControlsDef.hxx>

Public Member Functions | |
| BadOrientedVolume () | |
| virtual void | SetMesh (const SMDS_Mesh *theMesh) |
| virtual bool | IsSatisfy (long theElementId) |
| virtual SMDSAbs_ElementType | GetType () const |
Protected Attributes | |
| const SMDS_Mesh * | myMesh |
Definition at line 375 of file SMESH_ControlsDef.hxx.
| BadOrientedVolume::BadOrientedVolume | ( | ) |
Definition at line 1933 of file SMESH_Controls.cxx.
References SMESH.Controls.NumericalFunctor.myMesh.
{
myMesh = 0;
}
| SMDSAbs_ElementType BadOrientedVolume::GetType | ( | ) | const [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 1952 of file SMESH_Controls.cxx.
References SMDSAbs_Volume.
{
return SMDSAbs_Volume;
}
| bool BadOrientedVolume::IsSatisfy | ( | long | theElementId | ) | [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 1943 of file SMESH_Controls.cxx.
References SMDS_Mesh.FindElement(), SMDS_VolumeTool.IsForward(), and SMESH.Controls.NumericalFunctor.myMesh.
{
if ( myMesh == 0 )
return false;
SMDS_VolumeTool vTool( myMesh->FindElement( theId ));
return !vTool.IsForward();
}
| void BadOrientedVolume::SetMesh | ( | const SMDS_Mesh * | theMesh | ) | [virtual] |
Implements SMESH.Controls.Functor.
Definition at line 1938 of file SMESH_Controls.cxx.
References SMESH.Controls.NumericalFunctor.myMesh.
{
myMesh = theMesh;
}
const SMDS_Mesh* SMESH.Controls.BadOrientedVolume.myMesh [protected] |
Definition at line 383 of file SMESH_ControlsDef.hxx.