mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
class BOPTools_AlgoTools2D
method void BOPTools_AlgoTools2D::Make2D (const TopoDS_Edge& aE,
const TopoDS_Face& aF,
Handle(Geom2d_Curve)& aC2D,
Standard_Real& aFirst,
Standard_Real& aLast,
Standard_Real& aToler)
Perform projection with the tolerance of the edge.
Test case for issue CR25625
28 lines
523 B
Plaintext
28 lines
523 B
Plaintext
puts "================"
|
|
puts "OCC25625"
|
|
puts "================"
|
|
puts ""
|
|
####################################
|
|
# Boolean COMMON cannot be built
|
|
####################################
|
|
|
|
restore [locate_data_file bug25625_shape1_fix.brep] b1
|
|
restore [locate_data_file bug25625_shape2_fix.brep] b2
|
|
|
|
bop b1 b2
|
|
bopcommon result
|
|
|
|
set square 0.985997
|
|
|
|
set nb_v_good 10
|
|
set nb_e_good 11
|
|
set nb_w_good 2
|
|
set nb_f_good 2
|
|
set nb_sh_good 1
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 27
|
|
|
|
set 2dviewer 1
|