mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +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
34 lines
687 B
Plaintext
34 lines
687 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
|
|
|
|
bop b1 b2
|
|
bopfuse result
|
|
|
|
bopcheck result
|
|
|
|
set square 8.76332e+06
|
|
|
|
set nbshapes_expected "
|
|
Number of shapes in shape
|
|
VERTEX : 88
|
|
EDGE : 180
|
|
WIRE : 86
|
|
FACE : 86
|
|
SHELL : 1
|
|
SOLID : 1
|
|
COMPSOLID : 0
|
|
COMPOUND : 1
|
|
SHAPE : 443
|
|
"
|
|
checknbshapes result ${nbshapes_expected} 1 "Result done by Boolean Operation algorithm"
|
|
|
|
set 2dviewer 1
|