mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:48:57 +08:00
1. class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PerformEF()
Do not create intersection vertices in case if it lies ON the boundary of the face.
2. class IntTools_Context
New method
Standard_Boolean IntTools_Context::IsPointInFace
(const gp_Pnt& aP,
const TopoDS_Face& aF,
const Standard_Real aTol)
has been implemented to check if the point IN the face.
3. class IntTools_EdgeFace
method
void IntTools_EdgeEdge::FindBestSolution(const Standard_Real aT11,
const Standard_Real aT12,
const Standard_Real aT21,
const Standard_Real aT22,
Standard_Real& aT1,
Standard_Real& aT2)
Treatment of the touching cases.
Test cases for issue CR24646
Correction of test cases for issue CR24646
40 lines
761 B
Plaintext
40 lines
761 B
Plaintext
puts "============"
|
|
puts "OCC24646"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Wrong result done by Boolean Operation algorithm
|
|
######################################################
|
|
|
|
restore [locate_data_file bug24646_b1.brep] b1
|
|
restore [locate_data_file bug24646_b2.brep] b2
|
|
|
|
nurbsconvert b1 b1
|
|
nurbsconvert b2 b2
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects b1
|
|
baddtools b2
|
|
|
|
bfillds
|
|
bbuild result
|
|
|
|
set square 8.82625e+06
|
|
|
|
set nbshapes_expected "
|
|
Number of shapes in shape
|
|
VERTEX : 88
|
|
EDGE : 180
|
|
WIRE : 88
|
|
FACE : 88
|
|
SHELL : 2
|
|
SOLID : 2
|
|
COMPSOLID : 0
|
|
COMPOUND : 1
|
|
SHAPE : 449
|
|
"
|
|
checknbshapes result ${nbshapes_expected} 1 "Result done by Boolean Operation algorithm"
|
|
|
|
set 2dviewer 1
|