1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026112: Exception is raised during perform of General Fuse operation

class BOPAlgo_WireSplitter
method
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA)

Protection from null vector.

Test case for issue CR26112
This commit is contained in:
emv
2015-04-30 13:31:47 +03:00
committed by bugmaster
parent 7ab159522a
commit 5e18f91719
2 changed files with 41 additions and 0 deletions

View File

@@ -1061,6 +1061,9 @@ Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
}
//
dT = aTOp - aT1max;
if (Abs(dT) < aTolInt) {
continue;
}
//
aT=aT1max + aCf*dT;
aC2D->D0(aT, aP);