Version: 8.3.0
SMESH::Controls::ElementsOnSurface Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::ElementsOnSurface:

Public Member Functions

 ElementsOnSurface ()
 
 ~ElementsOnSurface ()
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual bool IsSatisfy (long theElementId)
 
virtual SMDSAbs_ElementType GetType () const
 
void SetTolerance (const double theToler)
 
double GetTolerance () const
 
void SetSurface (const TopoDS_Shape &theShape, const SMDSAbs_ElementType theType)
 
void SetUseBoundaries (bool theUse)
 
bool GetUseBoundaries () const
 
virtual Predicateclone () const
 

Private Member Functions

void process ()
 
void process (const SMDS_MeshElement *theElem)
 
bool isOnSurface (const SMDS_MeshNode *theNode)
 

Private Attributes

TMeshModifTracer myMeshModifTracer
 
TColStd_MapOfInteger myIds
 
SMDSAbs_ElementType myType
 
TopoDS_Face mySurf
 
double myToler
 
bool myUseBoundaries
 
GeomAPI_ProjectPointOnSurf myProjector
 

Constructor & Destructor Documentation

ElementsOnSurface::ElementsOnSurface ( )
ElementsOnSurface::~ElementsOnSurface ( )

Member Function Documentation

double ElementsOnSurface::GetTolerance ( ) const

References myToler.

SMDSAbs_ElementType ElementsOnSurface::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

bool SMESH::Controls::ElementsOnSurface::GetUseBoundaries ( ) const
bool ElementsOnSurface::isOnSurface ( const SMDS_MeshNode theNode)
private
bool ElementsOnSurface::IsSatisfy ( long  theElementId)
virtual

Implements SMESH::Controls::Predicate.

References myIds.

void ElementsOnSurface::process ( const SMDS_MeshElement theElem)
private
void ElementsOnSurface::SetSurface ( const TopoDS_Shape &  theShape,
const SMDSAbs_ElementType  theType 
)
void ElementsOnSurface::SetTolerance ( const double  theToler)

References myIds, and myToler.

void ElementsOnSurface::SetUseBoundaries ( bool  theUse)

Field Documentation

TColStd_MapOfInteger SMESH::Controls::ElementsOnSurface::myIds
private
TMeshModifTracer SMESH::Controls::ElementsOnSurface::myMeshModifTracer
private

Referenced by process(), and SetMesh().

GeomAPI_ProjectPointOnSurf SMESH::Controls::ElementsOnSurface::myProjector
private

Referenced by isOnSurface(), and SetSurface().

TopoDS_Face SMESH::Controls::ElementsOnSurface::mySurf
private
double SMESH::Controls::ElementsOnSurface::myToler
private
SMDSAbs_ElementType SMESH::Controls::ElementsOnSurface::myType
private
bool SMESH::Controls::ElementsOnSurface::myUseBoundaries
private