mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0025012: ShapeFix_Wire checks the wrong parameter for the curve during SameParameter check
SameParameter check is fixed to verify the correct pairs of parameters
This commit is contained in:
parent
a060129f78
commit
44a87d6967
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user