Version: 9.12.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
 
TIDsMap myIds
 
SMDSAbs_ElementType myType
 
TopoDS_Face mySurf
 
double myToler
 
bool myUseBoundaries
 
GeomAPI_ProjectPointOnSurf myProjector
 

Constructor & Destructor Documentation

◆ ElementsOnSurface()

ElementsOnSurface::ElementsOnSurface ( )

◆ ~ElementsOnSurface()

ElementsOnSurface::~ElementsOnSurface ( )

Member Function Documentation

◆ clone()

◆ GetTolerance()

double ElementsOnSurface::GetTolerance ( ) const

References myToler.

◆ GetType()

SMDSAbs_ElementType ElementsOnSurface::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

◆ GetUseBoundaries()

bool SMESH::Controls::ElementsOnSurface::GetUseBoundaries ( ) const

◆ isOnSurface()

bool ElementsOnSurface::isOnSurface ( const SMDS_MeshNode theNode)
private

◆ IsSatisfy()

bool ElementsOnSurface::IsSatisfy ( long  theElementId)
virtual

Implements SMESH::Controls::Predicate.

References myIds.

◆ process() [1/2]

◆ process() [2/2]

void ElementsOnSurface::process ( const SMDS_MeshElement theElem)
private

◆ SetMesh()

◆ SetSurface()

void ElementsOnSurface::SetSurface ( const TopoDS_Shape &  theShape,
const SMDSAbs_ElementType  theType 
)

◆ SetTolerance()

void ElementsOnSurface::SetTolerance ( const double  theToler)

References myToler, and process().

◆ SetUseBoundaries()

void ElementsOnSurface::SetUseBoundaries ( bool  theUse)

Field Documentation

◆ myIds

TIDsMap SMESH::Controls::ElementsOnSurface::myIds
private

◆ myMeshModifTracer

TMeshModifTracer SMESH::Controls::ElementsOnSurface::myMeshModifTracer
private

Referenced by process(), and SetMesh().

◆ myProjector

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

Referenced by isOnSurface(), and SetSurface().

◆ mySurf

TopoDS_Face SMESH::Controls::ElementsOnSurface::mySurf
private

◆ myToler

double SMESH::Controls::ElementsOnSurface::myToler
private

◆ myType

SMDSAbs_ElementType SMESH::Controls::ElementsOnSurface::myType
private

◆ myUseBoundaries

bool SMESH::Controls::ElementsOnSurface::myUseBoundaries
private