mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
22563: EDF SMESH: Regression with Projection_2D on Salome_master/OCCT_6_7_1_beta
Be more tolerant when looking for existing nodes on EDGE
This commit is contained in:
parent
9c53b386de
commit
17c25b0d25
@ -4018,11 +4018,12 @@ bool SMESH_Pattern::MakeMesh(SMESH_Mesh* theMesh,
|
||||
map< double, const SMDS_MeshNode* >::iterator u2n = ++paramsOfNodes.begin();
|
||||
map< double, const SMDS_MeshNode* >::iterator u2nEnd = --paramsOfNodes.end();
|
||||
TPoint* p;
|
||||
const double tolFact = ( paramsOfNodes.size() == points.size() ) ? 0.3 : 0.05;
|
||||
while ( u2n != u2nEnd && pItF != points.end() )
|
||||
{
|
||||
const double u = u2n->first;
|
||||
const SMDS_MeshNode* n = u2n->second;
|
||||
const double tol = ( (++u2n)->first - u ) / 20;
|
||||
const double tol = ( (++u2n)->first - u ) * tolFact;
|
||||
do
|
||||
{
|
||||
p = ( isForward ? *pItF : *pItR );
|
||||
|
Loading…
Reference in New Issue
Block a user