mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
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
15 lines
208 B
Plaintext
Executable File
15 lines
208 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC26"
|
|
puts "================"
|
|
puts ""
|
|
|
|
restore [locate_data_file OCC26.brep] a
|
|
explode a
|
|
checkshape a_1
|
|
checkshape a_2
|
|
|
|
bfuse result a_2 a_1
|
|
|
|
set square 44819.8
|
|
set 2dviewer 0
|