mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027468: Incorrect processing of some cases by HLR algorithm
Incorrect work of HLR algorithm caused by usage of wrong tolerances, wrong sampling of 2d curve and some other bugs are fixed. Test cases for issue CR27341
This commit is contained in:
@@ -174,12 +174,8 @@ static void drawCurve (Adaptor3d_Curve& aCurve,
|
||||
NumberOfPoints = Algo.NbPoints();
|
||||
|
||||
if (NumberOfPoints > 0) {
|
||||
for (i=1;i<NumberOfPoints;i++) {
|
||||
for (i = 1; i <= NumberOfPoints; i++)
|
||||
SeqP.Append(Algo.Value(i));
|
||||
}
|
||||
if (j == nbinter) {
|
||||
SeqP.Append(Algo.Value(NumberOfPoints));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user