Version: 6.3.1
Public Member Functions | Protected Attributes

SMESH.Controls.FreeBorders Class Reference

#include <SMESH_ControlsDef.hxx>

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

Public Member Functions

 FreeBorders ()
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 359 of file SMESH_ControlsDef.hxx.


Constructor & Destructor Documentation

FreeBorders::FreeBorders ( )

Definition at line 2075 of file SMESH_Controls.cxx.

References SMESH.Controls.NumericalFunctor.myMesh.

{
  myMesh = 0;
}

Member Function Documentation

SMDSAbs_ElementType FreeBorders::GetType ( ) const [virtual]

Implements SMESH.Controls.Predicate.

Definition at line 2090 of file SMESH_Controls.cxx.

References SMDSAbs_Edge.

{
  return SMDSAbs_Edge;
}
bool FreeBorders::IsSatisfy ( long  theElementId) [virtual]

Implements SMESH.Controls.Predicate.

Definition at line 2085 of file SMESH_Controls.cxx.

References SMESH.Controls.NumericalFunctor.myMesh.

{
  return getNbMultiConnection( myMesh, theId ) == 1;
}
void FreeBorders::SetMesh ( const SMDS_Mesh theMesh) [virtual]

Implements SMESH.Controls.Functor.

Definition at line 2080 of file SMESH_Controls.cxx.

References SMESH.Controls.NumericalFunctor.myMesh.

{
  myMesh = theMesh;
}

Field Documentation

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