From: razmyslovich Date: Mon, 16 Jun 2014 14:27:06 +0000 (+0200) Subject: 0025012: ShapeFix_Wire checks the wrong parameter for the curve during SameParameter... X-Git-Tag: V6_8_0_beta~259 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=44a87d6967b168b28837b168069f0b8a20a6a7d1;p=occt-copy.git 0025012: ShapeFix_Wire checks the wrong parameter for the curve during SameParameter check SameParameter check is fixed to verify the correct pairs of parameters --- diff --git a/src/ShapeFix/ShapeFix_Wire.cxx b/src/ShapeFix/ShapeFix_Wire.cxx index c2e1aecb66..8e5a98f7b6 100644 --- 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-fp2d)>Precision::PConfusion() ) { + fabs(Last-lp2d)>Precision::PConfusion() ) { BRep_Builder B; B.SameRange(sbwd->Edge(i),Standard_False); }