mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-31 03:00:34 +05:00
0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0
fix after changed behaviour of LoadNodeColumns() - bool isForward = ( edgeIt->Orientation() == TopAbs_FORWARD ); + bool isForward = + StdMeshers_PrismAsBlock::IsForwardEdge( myHelper->GetMeshDS(), + myParam2ColumnMaps[iE], + *edgeIt, SMESH_Block::ID_Fx0z );
This commit is contained in:
parent
7a57f9da6e
commit
e830e055d0
@ -1460,7 +1460,10 @@ bool StdMeshers_PrismAsBlock::Init(SMESH_MesherHelper* helper,
|
|||||||
int nbSplit = i_nb->second;
|
int nbSplit = i_nb->second;
|
||||||
vector< double > params;
|
vector< double > params;
|
||||||
splitParams( nbSplit, &myParam2ColumnMaps[ iE ], params );
|
splitParams( nbSplit, &myParam2ColumnMaps[ iE ], params );
|
||||||
bool isForward = ( edgeIt->Orientation() == TopAbs_FORWARD );
|
const bool isForward =
|
||||||
|
StdMeshers_PrismAsBlock::IsForwardEdge( myHelper->GetMeshDS(),
|
||||||
|
myParam2ColumnMaps[iE],
|
||||||
|
*edgeIt, SMESH_Block::ID_Fx0z );
|
||||||
for ( int i = 0; i < nbSplit; ++i ) {
|
for ( int i = 0; i < nbSplit; ++i ) {
|
||||||
double f = ( isForward ? params[ i ] : params[ nbSplit - i-1 ]);
|
double f = ( isForward ? params[ i ] : params[ nbSplit - i-1 ]);
|
||||||
double l = ( isForward ? params[ i+1 ] : params[ nbSplit - i ]);
|
double l = ( isForward ? params[ i+1 ] : params[ nbSplit - i ]);
|
||||||
@ -1753,7 +1756,7 @@ bool StdMeshers_PrismAsBlock::GetLayersTransformation(vector<gp_Trsf> & trsf) co
|
|||||||
* \param columnsMap - node columns map of side face
|
* \param columnsMap - node columns map of side face
|
||||||
* \param bottomEdge - the bootom edge
|
* \param bottomEdge - the bootom edge
|
||||||
* \param sideFaceID - side face in-block ID
|
* \param sideFaceID - side face in-block ID
|
||||||
* \retval bool - true if orientation coinside with in-block froward orientation
|
* \retval bool - true if orientation coinside with in-block forward orientation
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user