1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00
ifv fffc249f21 0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear and robust
Approx/Approx_SameParameter.cxx,hxx:
Class Approx_SameParameter refactoring. Logic is changed in many places to unify usage, simplify maintenance.
Method Curve2d() is changed to return Geom2d_Curve instead of Geom2d_BSplineCurve. Corresponding message is added to the upgrade guide.
.lxx file is merged into .hxx.
Tangent computation is extracted into special method.
Comparing number of sample points after CheckSameParameter(...) is added to define cases with projection fails.
Undesirable behavior when curves are not same parameterized is fixed.

Geom2dAdaptor/Geom2dAdaptor.cxx: treatment of offset curve is added

Adaptor3d/Adaptor3d_TopolTool.cxx: minor improvement of performance for BSpline surfaces with huge number of knots

Tests were modified according to new behavior of sameparameter algorithm
2020-03-06 15:54:46 +03:00

23 lines
681 B
Plaintext

puts "TODO OCC30286 Windows: Error : The length of result shape is 404.004, expected 404.386"
puts "TODO OCC30286 Linux: Error : The length of result shape is 404.492, expected 404.386"
polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0
polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0
polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0
polyline f4 0 100 0 -10 100 0 -10 0 0 0 0 0 0 100 0
mkplane f1 f1
mkplane f2 f2
mkplane f3 f3
mkplane f4 f4
explode f1 e
explode f2 e
explode f3 e
explode f4 e
point pp 50 50 100
filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0
set viewname ""
set length 404.386
COMPUTE_HLR $viewname $algotype