projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027468: Incorrect processing of some cases by HLR algorithm
[occt.git]
/
src
/
StdPrs
/
StdPrs_DeflectionCurve.cxx
diff --git
a/src/StdPrs/StdPrs_DeflectionCurve.cxx
b/src/StdPrs/StdPrs_DeflectionCurve.cxx
index
82083dc
..
aa60e72
100644
(file)
--- a/
src/StdPrs/StdPrs_DeflectionCurve.cxx
+++ b/
src/StdPrs/StdPrs_DeflectionCurve.cxx
@@
-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));
- }
}
}
}