0016202: EDF 465 SMESH : Propagation 1D on edges group

fix scale distribution
This commit is contained in:
eap 2011-11-07 10:24:32 +00:00
parent a68d5534ec
commit 6e9a9249d6

View File

@ -691,7 +691,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh & theMesh,
list<double>::iterator u = theParams.begin(), uEnd = theParams.end();
for ( ; u != uEnd; ++u )
{
GCPnts_AbscissaPoint Discret( theC3d, (*u) * lenFactor, f );
GCPnts_AbscissaPoint Discret( theC3d, ((*u)-f) * lenFactor, f );
if ( Discret.IsDone() )
*u = Discret.Parameter();
}