projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0030874: Modeling Algorithms - GCPnts_TangentialDeflection inserts the points between...
[occt.git]
/
src
/
GCPnts
/
GCPnts_TangentialDeflection.pxx
diff --git
a/src/GCPnts/GCPnts_TangentialDeflection.pxx
b/src/GCPnts/GCPnts_TangentialDeflection.pxx
index
068e80b
..
c32e4a0
100644
(file)
--- a/
src/GCPnts/GCPnts_TangentialDeflection.pxx
+++ b/
src/GCPnts/GCPnts_TangentialDeflection.pxx
@@
-593,6
+593,12
@@
void GCPnts_TangentialDeflection::PerformCurve (const TheCurve& C)
{
U1 = parameters(i);
U2 = parameters(i + 1);
+
+ if (U2 - U1 <= uTol)
+ {
+ continue;
+ }
+
// Check maximal deflection on interval;
Standard_Real dmax = 0.;
Standard_Real umax = 0.;