Version: 9.12.0
VISCOUS_3D::_SmoothNode Struct Reference

Data of node on a shrinked FACE. More...

Public Types

enum  SmoothType { LAPLACIAN , CENTROIDAL , ANGULAR , TFI }
 

Public Member Functions

bool Smooth (int &badNb, Handle(Geom_Surface)&surface, SMESH_MesherHelper &helper, const double refSign, SmoothType how, bool set3D)
 Perform smooth on the FACE. More...
 
gp_XY computeAngularPos (vector< gp_XY > &uv, const gp_XY &uvToFix, const double refSign)
 Computes new UV using angle based smoothing technique. More...
 

Data Fields

const SMDS_MeshNode_node
 
vector< _Simplex_simplices
 

Detailed Description

Data of node on a shrinked FACE.

Member Enumeration Documentation

◆ SmoothType

Enumerator
LAPLACIAN 
CENTROIDAL 
ANGULAR 
TFI 

Member Function Documentation

◆ computeAngularPos()

gp_XY _SmoothNode::computeAngularPos ( vector< gp_XY > &  uv,
const gp_XY &  uvToFix,
const double  refSign 
)

Computes new UV using angle based smoothing technique.

◆ Smooth()

bool _SmoothNode::Smooth ( int &  nbBad,
Handle(Geom_Surface)&  surface,
SMESH_MesherHelper helper,
const double  refSign,
SmoothType  how,
bool  set3D 
)

Perform smooth on the FACE.

Return values
bool- true if the node has been moved

References SMESH_MesherHelper::calcTFI(), dumpMove, Face, SMESH_MesherHelper::GetNodeUV(), SMDS_MeshNode::GetPosition(), SMESH_MesherHelper::GetSubShape(), and SMESH_MesherHelper::WrapIndex().

Field Documentation

◆ _node

const SMDS_MeshNode* VISCOUS_3D::_SmoothNode::_node

◆ _simplices

vector<_Simplex> VISCOUS_3D::_SmoothNode::_simplices