mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
PAL8539. Fix case NB_SEGMENTS for scale != 1.0 and first edge parameter != 0.0
This commit is contained in:
parent
0bcee2eb28
commit
a310184e13
@ -265,7 +265,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(const TopoDS_Edge& theEdge
|
||||
int i, NbPoints = 1 + (int) _value[ NB_SEGMENTS_IND ];
|
||||
for ( i = 2; i < NbPoints; i++ )
|
||||
{
|
||||
double param = factor * (1 - pow(alpha, i - 1));
|
||||
double param = f + factor * (1 - pow(alpha, i - 1));
|
||||
theParams.push_back( param );
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user