Morph mesh on the target FACE to lie within FACE boundary w/o distortion. More...
#include <StdMeshers_ProjectionUtils.hxx>
Public Member Functions | |
| Morph (const TSideVector &srcWires) | |
| triangulate the srcFace in 2D More... | |
| bool | Perform (SMESH_MesherHelper &tgtHelper, const TSideVector &tgtWires, Handle(ShapeAnalysis_Surface) tgtSurface, const TNodeNodeMap &src2tgtNodes, const bool moveAll) |
| Move non-marked target nodes. More... | |
Private Attributes | |
| Delaunay | _delaunay |
| SMESH_subMesh * | _srcSubMesh |
Morph mesh on the target FACE to lie within FACE boundary w/o distortion.
| StdMeshers_ProjectionUtils::Morph::Morph | ( | const TSideVector & | srcWires | ) |
triangulate the srcFace in 2D
| [in] | srcWires | - boundary of the src FACE |
References _srcSubMesh, and Face.
| bool StdMeshers_ProjectionUtils::Morph::Perform | ( | SMESH_MesherHelper & | tgtHelper, |
| const TSideVector & | tgtWires, | ||
| Handle(ShapeAnalysis_Surface) | tgtSurface, | ||
| const TNodeNodeMap & | src2tgtNodes, | ||
| const bool | moveAll | ||
| ) |
Move non-marked target nodes.
| [in,out] | tgtHelper | - helper |
| [in] | tgtWires | - boundary nodes of the target FACE; must be in the same order as the nodes in srcWires given in the constructor |
| [in] | src2tgtNodes | - map of src -> tgt nodes |
| [in] | moveAll | - to move all nodes; if false, move only non-marked nodes |
References _delaunay, _srcSubMesh, SMESH_Delaunay::GetBndNodes(), SMESH_MesherHelper::GetMeshDS(), SMESHDS_SubMesh::GetNodes(), SMDS_MeshNode::GetPosition(), SMESH_subMesh::GetSubMeshDS(), SMESH_Delaunay::InitTraversal(), SMESHDS_Mesh::MoveNode(), SMESHDS_SubMesh::NbNodes(), SMESH_Delaunay::NextNode(), and SMDS_MeshNode::X().
Referenced by StdMeshers_Projection_2D::Compute().
|
private |