projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a060129
)
0025012: ShapeFix_Wire checks the wrong parameter for the curve during SameParameter...
author
razmyslovich
<razmyslovich@volumegraphics.com>
Mon, 16 Jun 2014 14:27:06 +0000
(16:27 +0200)
committer
apn
<apn@opencascade.com>
Thu, 19 Jun 2014 09:20:18 +0000
(13:20 +0400)
SameParameter check is fixed to verify the correct pairs of parameters
src/ShapeFix/ShapeFix_Wire.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/ShapeFix/ShapeFix_Wire.cxx
b/src/ShapeFix/ShapeFix_Wire.cxx
index
c2e1aec
..
8e5a98f
100644
(file)
--- a/
src/ShapeFix/ShapeFix_Wire.cxx
+++ b/
src/ShapeFix/ShapeFix_Wire.cxx
@@
-729,7
+729,7
@@
Standard_Boolean ShapeFix_Wire::FixEdgeCurves()
Standard_Real fp2d,lp2d;
if(sae.PCurve(sbwd->Edge(i),face,C2d,fp2d,lp2d)) {
if( fabs(First-fp2d)>Precision::PConfusion() ||
- fabs(Last-
f
p2d)>Precision::PConfusion() ) {
+ fabs(Last-
l
p2d)>Precision::PConfusion() ) {
BRep_Builder B;
B.SameRange(sbwd->Edge(i),Standard_False);
}