Shrinker of nodes on the EDGE. More...
Public Member Functions | |
void | AddEdge (const _LayerEdge *e, _EdgesOnShape &eos, SMESH_MesherHelper &helper) |
Keep a _LayerEdge inflated along the EDGE. More... | |
void | Compute (bool set3D, SMESH_MesherHelper &helper) |
Move nodes on EDGE from ends where _LayerEdge's are inflated. More... | |
void | RestoreParams () |
Restore initial parameters of nodes on EDGE. More... | |
void | SwapSrcTgtNodes (SMESHDS_Mesh *mesh) |
Replace source nodes by target nodes in shrinked mesh edges. More... | |
Shrinker of nodes on the EDGE.
void _Shrinker1D::AddEdge | ( | const _LayerEdge * | e, |
_EdgesOnShape & | eos, | ||
SMESH_MesherHelper & | helper | ||
) |
Keep a _LayerEdge inflated along the EDGE.
References SMESH_MesherHelper::GetMeshDS(), SMESHDS_SubMesh::GetNodes(), SMESH_MesherHelper::GetNodeU(), SMESHDS_Mesh::MeshElements(), SMDS_MeshNode::NbInverseElements(), SMESHDS_SubMesh::NbNodes(), and VISCOUS_3D::_EdgesOnShape::SWOLType().
void _Shrinker1D::Compute | ( | bool | set3D, |
SMESH_MesherHelper & | helper | ||
) |
Move nodes on EDGE from ends where _LayerEdge's are inflated.
References SMESH_MesherHelper::GetNodeU().
void _Shrinker1D::RestoreParams | ( | ) |
Restore initial parameters of nodes on EDGE.
void _Shrinker1D::SwapSrcTgtNodes | ( | SMESHDS_Mesh * | mesh | ) |
Replace source nodes by target nodes in shrinked mesh edges.
References SMESHDS_SubMesh::Contains(), and SMDS_MeshNode::GetInverseElementIterator().