mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
class BOPAlgo_PaveFiller
1. method
void BOPAlgo_PaveFiller::MakeBlocks()
Update of FaceInfo IN information before filling the maps.
2. methods
void BOPAlgo_PaveFiller::UpdateFaceInfo
(BOPDS_DataMapOfPaveBlockListOfPaveBlock& theDME,
const BOPCol_DataMapOfIntegerInteger& theDMV)
void BOPAlgo_PaveFiller::ProcessExistingPaveBlocks
(const Standard_Integer theInt,
const BOPDS_IndexedMapOfPaveBlock& aMPBOnIn,
const BOPCol_DataMapOfIntegerListOfInteger& aDMBV,
BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks& aMSCPB,
BOPCol_DataMapOfShapeInteger& aMVI,
BOPDS_MapOfPaveBlock& aMPB)
Small changes in treatment of existing pave blocks when making new ones from intersection curves.
Test case for issue CR26218
Correction of test case for issue CR26218
37 lines
676 B
Plaintext
Executable File
37 lines
676 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC26218"
|
|
puts "============"
|
|
puts ""
|
|
###############################
|
|
## Wrong result done by General Fuse algorithm
|
|
###############################
|
|
|
|
restore [locate_data_file bug26218_b11.brep] b1
|
|
restore [locate_data_file bug26218_b21.brep] b2
|
|
|
|
bclearobjects
|
|
bcleartools
|
|
baddobjects b1
|
|
baddcompound b2
|
|
|
|
bfillds
|
|
bbuild result
|
|
|
|
set square 2728.77
|
|
|
|
set nbshapes_expected "
|
|
Number of shapes in shape
|
|
VERTEX : 31
|
|
EDGE : 52
|
|
WIRE : 25
|
|
FACE : 25
|
|
SHELL : 4
|
|
SOLID : 4
|
|
COMPSOLID : 0
|
|
COMPOUND : 1
|
|
SHAPE : 142
|
|
"
|
|
checknbshapes result -ref ${nbshapes_expected} -t -m "result done by General Fuse algorithm"
|
|
|
|
set 3dviewer 1
|