Version: 9.16.0
VISCOUS_3D::ShrinkFace Struct Reference

Shrink FACE data used to find periodic FACEs. More...

Data Structures

struct  BndPart
 < part of FACE boundary, either shrink or no-shrink More...
 

Public Member Functions

void Init (SMESH_subMesh *sm, _SolidData *sd1, _SolidData *sd2)
 
bool IsSame (const TopoDS_Face &face) const
 
bool IsShrunk (const TopTools_MapOfShape &shrunkFaces) const
 
bool IsPeriodic (ShrinkFace &other, PeriodicFaces &periodic)
 Check if meshes on two FACEs are equal. More...
 
bool IsSameNbElements (ShrinkFace &other)
 
void Reverse (std::list< BndPart > &boundary)
 
void SetBoundary ()
 
void GetElements (std::set< const SMDS_MeshElement * > &theElems)
 
void GetBoundaryPoints (std::vector< gp_XYZ > &points)
 

Data Fields

SMESH_subMesh_subMesh
 
_SolidData_data1
 
_SolidData_data2
 
std::list< BndPart_boundary
 
int _boundarySize
 
int _nbBoundaryParts
 

Detailed Description

Shrink FACE data used to find periodic FACEs.

Member Function Documentation

◆ GetBoundaryPoints()

void VISCOUS_3D::ShrinkFace::GetBoundaryPoints ( std::vector< gp_XYZ > &  points)

References _boundary, and _boundarySize.

Referenced by IsPeriodic().

◆ GetElements()

void VISCOUS_3D::ShrinkFace::GetElements ( std::set< const SMDS_MeshElement * > &  theElems)

References _subMesh, and SMESH_subMesh::GetSubMeshDS().

Referenced by IsPeriodic().

◆ Init()

void VISCOUS_3D::ShrinkFace::Init ( SMESH_subMesh sm,
_SolidData sd1,
_SolidData sd2 
)

References _data1, _data2, and _subMesh.

◆ IsPeriodic()

◆ IsSame()

bool VISCOUS_3D::ShrinkFace::IsSame ( const TopoDS_Face &  face) const

◆ IsSameNbElements()

bool VISCOUS_3D::ShrinkFace::IsSameNbElements ( ShrinkFace other)

◆ IsShrunk()

bool VISCOUS_3D::ShrinkFace::IsShrunk ( const TopTools_MapOfShape &  shrunkFaces) const

◆ Reverse()

void VISCOUS_3D::ShrinkFace::Reverse ( std::list< BndPart > &  boundary)

Referenced by IsPeriodic().

◆ SetBoundary()

Field Documentation

◆ _boundary

std::list< BndPart > VISCOUS_3D::ShrinkFace::_boundary

◆ _boundarySize

int VISCOUS_3D::ShrinkFace::_boundarySize

◆ _data1

_SolidData* VISCOUS_3D::ShrinkFace::_data1

◆ _data2

_SolidData* VISCOUS_3D::ShrinkFace::_data2

Referenced by Init(), and SetBoundary().

◆ _nbBoundaryParts

int VISCOUS_3D::ShrinkFace::_nbBoundaryParts

Referenced by IsPeriodic(), and SetBoundary().

◆ _subMesh