mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
1. Method Approx_ComputeLine::Perform is modified: now it contains also recursive calls after new line computation made by new method ApproxInt_MultiLine::MakeMLOneMorePoint.
2. New method MakeMLOneMorePoint is added to ApproxInt_MultiLine: it builds new sub-line as a part of main line with new point added into the middle of the longest interval between existing points.
3. Method ShapeConstruct_ProjectCurveOnSurface::ApproxPCurve is modified to avoid regressions: now it takes care of the set of initial points to be enough close to each other so that an interval between two adjacent points is less than half-period of the surface.
4. Modification in ShapeConstruct_ProjectCurveOnSurface: correction of pcurves of edges which extremities are in the singularities of surface.
22 lines
558 B
Plaintext
22 lines
558 B
Plaintext
puts "============"
|
|
puts "OCC27079"
|
|
puts "============"
|
|
puts ""
|
|
##################################################################
|
|
# Bad approximation of intersection curves with variable curvature
|
|
##################################################################
|
|
|
|
restore [locate_data_file bug27079_s3.draw] s3
|
|
restore [locate_data_file bug27079_s4.draw] s4
|
|
|
|
smallview
|
|
donly s4
|
|
fit
|
|
|
|
intersect result s3 s4
|
|
|
|
checklength result_1 -l 4.2844275555620923
|
|
checklength result_2 -l 4.2844275531269931
|
|
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|