mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024823: Hang up in "bopcheck" command
Modifications: class IntTools_EdgeEdge 1. method Standard_Boolean IntTools_EdgeEdge::FindParameters( const BRepAdaptor_Curve& theB const Standard_Real aT1, const Standard_Real aT2, const Standard_Real theRes, const Standard_Real thePTol, const Bnd_Box& theCBox, Standard_Real& aTB1, Standard_Real& aTB2) Added protection for large values of parameters of the edges. 2. methods static Standard_Boolean BndCommon(const Bnd_Box& theB1, const Bnd_Box& theB2, Bnd_Box& theBOut) and IntTools_EdgeEdge::FindSolutions() have been removed as redundant. Test case for issue CR24823
This commit is contained in:
@@ -26,6 +26,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge()
|
||||
myTol(0.),
|
||||
myRes1(0.),
|
||||
myRes2(0.),
|
||||
myPTol1(0.),
|
||||
myPTol2(0.),
|
||||
myRange1(0., 0.),
|
||||
myRange2(0., 0.),
|
||||
mySwap(Standard_False),
|
||||
@@ -46,6 +48,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
|
||||
myTol(0.),
|
||||
myRes1(0.),
|
||||
myRes2(0.),
|
||||
myPTol1(0.),
|
||||
myPTol2(0.),
|
||||
myRange1(0., 0.),
|
||||
myRange2(0., 0.),
|
||||
mySwap(Standard_False),
|
||||
@@ -70,6 +74,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
|
||||
myTol(0.),
|
||||
myRes1(0.),
|
||||
myRes2(0.),
|
||||
myPTol1(0.),
|
||||
myPTol2(0.),
|
||||
myRange1(aT11, aT12),
|
||||
myRange2(aT21, aT22),
|
||||
mySwap(Standard_False),
|
||||
|
Reference in New Issue
Block a user