mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Approximation parameters: degmin, degmax, max number of segments, boundary condition, maximal distance of projecting are added in interface of classes ProjLib_ProjectedCurve, ProjLib_ComputeApprox, ProjLib_ComputeApproxOnPolarSurface Algorithm of Approx/Approx_ComputeCLine is modified in order to treat maximal number of segments allowed for cutting. Algorithm of method BOPTools_AlgoTools2D::MakePCurveOnFace(...) is modified in order to manage cases with big edge tolerances. Test case added Some test cases were modified according to new behavior of algorithms
13 lines
302 B
Plaintext
13 lines
302 B
Plaintext
puts "=========="
|
|
puts "OCC26130"
|
|
puts "=========="
|
|
puts ""
|
|
##############################################################
|
|
# PCurve creation failure
|
|
##############################################################
|
|
|
|
restore [locate_data_file bug26130_projcomp.brep] a
|
|
explode a
|
|
|
|
catch {bhaspc a_1 a_2 do}
|