#include <SMESH_ControlsDef.hxx>

Public Member Functions | |
| FreeNodes () | |
| virtual void | SetMesh (const SMDS_Mesh *theMesh) |
| virtual bool | IsSatisfy (long theNodeId) |
| virtual SMDSAbs_ElementType | GetType () const |
Protected Attributes | |
| const SMDS_Mesh * | myMesh |
Definition at line 479 of file SMESH_ControlsDef.hxx.
| FreeNodes::FreeNodes | ( | ) |
Definition at line 2244 of file SMESH_Controls.cxx.
References SMESH.Controls.FreeEdges.myMesh.
{
myMesh = 0;
}
| SMDSAbs_ElementType FreeNodes::GetType | ( | ) | const [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 2263 of file SMESH_Controls.cxx.
References SMDSAbs_Node.
{
return SMDSAbs_Node;
}
| bool FreeNodes::IsSatisfy | ( | long | theNodeId | ) | [virtual] |
Implements SMESH.Controls.Predicate.
Definition at line 2254 of file SMESH_Controls.cxx.
References SMDS_Mesh.FindNode(), SMESH.Controls.FreeEdges.myMesh, and SMDS_MeshNode.NbInverseElements().
{
const SMDS_MeshNode* aNode = myMesh->FindNode( theNodeId );
if (!aNode)
return false;
return (aNode->NbInverseElements() < 1);
}
| void FreeNodes::SetMesh | ( | const SMDS_Mesh * | theMesh | ) | [virtual] |
Implements SMESH.Controls.Functor.
Definition at line 2249 of file SMESH_Controls.cxx.
References SMESH.Controls.FreeEdges.myMesh.
{
myMesh = theMesh;
}
const SMDS_Mesh* SMESH.Controls.FreeNodes.myMesh [protected] |
Definition at line 487 of file SMESH_ControlsDef.hxx.