Version: 6.3.1
Public Member Functions | Protected Attributes

SMESH.Controls.BadOrientedVolume Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH.Controls.BadOrientedVolume:
Inheritance graph
[legend]

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_MeshmyMesh

Detailed Description

Definition at line 375 of file SMESH_ControlsDef.hxx.


Constructor & Destructor Documentation

BadOrientedVolume::BadOrientedVolume ( )

Definition at line 1933 of file SMESH_Controls.cxx.

References SMESH.Controls.NumericalFunctor.myMesh.

{
  myMesh = 0;
}

Member Function Documentation

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;
}

Field Documentation

Definition at line 383 of file SMESH_ControlsDef.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