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 technic. More... | |
Data Fields | |
const SMDS_MeshNode * | _node |
vector< _Simplex > | _simplices |
Data of node on a shrinked FACE.
gp_XY _SmoothNode::computeAngularPos | ( | vector< gp_XY > & | uv, |
const gp_XY & | uvToFix, | ||
const double | refSign | ||
) |
Computes new UV using angle based smoothing technic.
Referenced by 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.
bool | - true if the node has been moved |
References _node, _simplices, ANGULAR, SMESH_MesherHelper::calcTFI(), CENTROIDAL, computeAngularPos(), dumpMove, Face, SMESH_MesherHelper::GetNodeUV(), SMDS_MeshNode::GetPosition(), SMESH_MesherHelper::GetSubShape(), SMDS_FacePosition::SetUParameter(), SMDS_FacePosition::SetVParameter(), TFI, and SMESH_MesherHelper::WrapIndex().
const SMDS_MeshNode* VISCOUS_3D::_SmoothNode::_node |
Referenced by Smooth().