1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0025558: It is impossible to restore attached shape

Condition of adding one last knot corrected.

Test-case for issue #25558
This commit is contained in:
aml
2014-12-11 16:40:37 +03:00
committed by bugmaster
parent 3d58dc498b
commit 70d08ce5b2
2 changed files with 16 additions and 2 deletions

View File

@@ -1698,8 +1698,8 @@ Standard_Boolean BSplCLib::PrepareInsertKnots
{
//gka for case when segments was produced on full period only one knot
//was added in the end of curve
if(fabs(adeltaK1) <= Precision::PConfusion() &&
fabs(adeltaK2) <= Precision::PConfusion())
if(fabs(adeltaK1) <= gp::Resolution() &&
fabs(adeltaK2) <= gp::Resolution())
ak++;
}