SALOME - SMESH
SMESH::Controls::ElementsOnSurface Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::ElementsOnSurface:
Inheritance graph
Collaboration diagram for SMESH::Controls::ElementsOnSurface:
Collaboration graph

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
 

Private Member Functions

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

Private Attributes

const SMDS_MeshmyMesh
 
TColStd_MapOfInteger myIds
 
SMDSAbs_ElementType myType
 
TopoDS_Face mySurf
 
double myToler
 
bool myUseBoundaries
 
GeomAPI_ProjectPointOnSurf myProjector
 

Detailed Description

Definition at line 628 of file SMESH_ControlsDef.hxx.

Constructor & Destructor Documentation

◆ ElementsOnSurface()

SMESH::Controls::ElementsOnSurface::ElementsOnSurface ( )

◆ ~ElementsOnSurface()

SMESH::Controls::ElementsOnSurface::~ElementsOnSurface ( )

Member Function Documentation

◆ SetMesh()

virtual void SMESH::Controls::ElementsOnSurface::SetMesh ( const SMDS_Mesh theMesh)
virtual

◆ IsSatisfy()

virtual bool SMESH::Controls::ElementsOnSurface::IsSatisfy ( long  theElementId)
virtual

◆ GetType()

virtual SMDSAbs_ElementType SMESH::Controls::ElementsOnSurface::GetType ( ) const
virtual

◆ SetTolerance()

void SMESH::Controls::ElementsOnSurface::SetTolerance ( const double  theToler)

◆ GetTolerance()

double SMESH::Controls::ElementsOnSurface::GetTolerance ( ) const

◆ SetSurface()

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

◆ SetUseBoundaries()

void SMESH::Controls::ElementsOnSurface::SetUseBoundaries ( bool  theUse)

◆ GetUseBoundaries()

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

Definition at line 641 of file SMESH_ControlsDef.hxx.

◆ process() [1/2]

void SMESH::Controls::ElementsOnSurface::process ( )
private

◆ process() [2/2]

void SMESH::Controls::ElementsOnSurface::process ( const SMDS_MeshElement theElem)
private

◆ isOnSurface()

bool SMESH::Controls::ElementsOnSurface::isOnSurface ( const SMDS_MeshNode theNode)
private

Field Documentation

◆ myMesh

const SMDS_Mesh* SMESH::Controls::ElementsOnSurface::myMesh
private

Definition at line 649 of file SMESH_ControlsDef.hxx.

◆ myIds

TColStd_MapOfInteger SMESH::Controls::ElementsOnSurface::myIds
private

Definition at line 650 of file SMESH_ControlsDef.hxx.

◆ myType

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

Definition at line 651 of file SMESH_ControlsDef.hxx.

◆ mySurf

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

Definition at line 653 of file SMESH_ControlsDef.hxx.

◆ myToler

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

Definition at line 654 of file SMESH_ControlsDef.hxx.

◆ myUseBoundaries

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

Definition at line 655 of file SMESH_ControlsDef.hxx.

◆ myProjector

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

Definition at line 656 of file SMESH_ControlsDef.hxx.