mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
IPAL54630: Wire discretization error
This commit is contained in:
parent
896ab9bad6
commit
1f0895c06c
@ -362,7 +362,10 @@ static bool computeParamByFunc(Adaptor3d_Curve& C3d,
|
||||
int nbPnt = 1 + nbSeg;
|
||||
vector<double> x( nbPnt, 0. );
|
||||
|
||||
if ( !buildDistribution( func, 0.0, 1.0, nbSeg, x, 1E-4 ))
|
||||
|
||||
const double eps = Min( 1E-4, 1./nbSeg/100. );
|
||||
|
||||
if ( !buildDistribution( func, 0.0, 1.0, nbSeg, x, eps ))
|
||||
return false;
|
||||
|
||||
// apply parameters in range [0,1] to the space of the curve
|
||||
|
Loading…
Reference in New Issue
Block a user