mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
Modification:
class IntTools_EdgeEdge
For correct computation of resolution for curves of type Hyperbola and Parabola two new static functions have been implemented:
static
Standard_Real ResolutionCoeff(const BRepAdaptor_Curve& theBAC,
const IntTools_Range& theRange);
static
Standard_Real Resolution(const Handle(Geom_Curve)& theCurve,
const GeomAbs_CurveType theCurveType,
const Standard_Real theResCoeff,
const Standard_Real theR3D);
bugs moddata_2 bug26_2 - improvement.
Test case for issue CR24939
Test case correction for issue CR24939
27 lines
500 B
Plaintext
Executable File
27 lines
500 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC24939"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Incorrect result of Fuse operation
|
|
######################################################
|
|
|
|
restore [locate_data_file bug24939_Comp.brep] c
|
|
|
|
explode c
|
|
bfuse result c_1 c_2
|
|
|
|
set square 31.0346
|
|
|
|
set nb_v_good 70
|
|
set nb_e_good 111
|
|
set nb_w_good 42
|
|
set nb_f_good 42
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 268
|
|
|
|
set 2dviewer 1
|