mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
class BOPAlgo_WireSplitter
- method:
void BOPAlgo_WireSplitter::SplitBlock
(const TopoDS_Face& myFace,
BOPTools_ConnexityBlock& aCB);
- static functions:
void RefineAngles(const TopoDS_Face& myFace,
const BOPCol_ListOfShape& myEdges,
BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo& mySmartMap);
void RefineAngles(const TopoDS_Vertex& aV,
const TopoDS_Face& myFace,
const BOPCol_MapOfShape& aMBE,
BOPAlgo_ListOfEdgeInfo& aLEI);
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
const TopoDS_Edge& aE,
const TopoDS_Face& myFace,
const Standard_Real aA1,
const Standard_Real aA2,
Standard_Real& aA);
The treatment p-curves convergent in node.
The refining the angles of p-curves taking into account
bounging curves if exist.
Test case for issue CR24655
29 lines
684 B
Plaintext
29 lines
684 B
Plaintext
puts "============"
|
|
puts "OCC24655"
|
|
puts "============"
|
|
puts ""
|
|
###############################################################################################
|
|
# Boolean common produces incorrect result
|
|
###############################################################################################
|
|
|
|
restore [locate_data_file bug24655_Tool_Flaw_1.brep] b1
|
|
restore [locate_data_file bug24655_TubeVolume_Init_1.brep] b2
|
|
|
|
bop b1 b2
|
|
bopcommon result
|
|
|
|
set square 11.9246
|
|
|
|
# Analysis of "nbshapes result"
|
|
set nb_v_good 23
|
|
set nb_e_good 34
|
|
set nb_w_good 13
|
|
set nb_f_good 13
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 86
|
|
|
|
set 2dviewer 1
|