mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0020919: EDF 1472 SMESH: Linear to quadratic conversion fails with hexaedron algorithm
* fix FixQuadraticElements()
This commit is contained in:
parent
90bfbd9c1e
commit
cc0f9654b4
@ -2508,6 +2508,8 @@ void SMESH_MesherHelper::FixQuadraticElements(bool volumeOnly)
|
||||
// uvMove = uvm - uv12
|
||||
gp_XY uvMove = applyIn2D(surf, uvm, uv12, gp_XY_Subtracted, /*inPeriod=*/false);
|
||||
( is1 ? move1 : move0 ).SetCoord( uvMove.X(), uvMove.Y(), 0 );
|
||||
if ( !is1 ) // correct nodeOnFace for move1 (issue 0020919)
|
||||
nodeOnFace = (*(++chain.rbegin()))->_mediumNode;
|
||||
}
|
||||
if ( move0.SquareMagnitude() < straightTol2 &&
|
||||
move1.SquareMagnitude() < straightTol2 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user